Chico UI - Doc

v1.0.0

Namespace support

Description

Returns a data object with features supported by the device

Properties

.fx Boolean

Checks if the $ library has fx methods.

if (ch.support.fx) {
    // Some code here!
}

.touch Boolean

Checks if the User Agent support touch events.

if (ch.support.touch) {
    // Some code here!
}

.transition Boolean

Verify that CSS Transitions are supported (or any of its browser-specific implementations).

if (ch.support.transition) {
    // Some code here!
}