Class: FeatureDetector

FeatureDetector

new FeatureDetector()

Creates a new FeatureDetector. Use the FeatureDetector to test for specific browser features.
Source:

Methods

<static> csstransforms()

Checks if CSS Transforms are supported.
Source:
Returns:
True if the feature is supported, false if not.

<static> csstransforms3d()

Checks if CSS 3D transforms are supported.
Source:
Returns:
True if the feature is supported, false if not.

<static> detect(feature)

Checks if the class has a method to detect the passed feature. If so, it calls the method.
Parameters:
Name Type Description
feature string The feature to check.
Source:
Returns:
True if the feature is supported, false if not.

<static> touch()

Checks if touch events are supported.
Source:
Returns:
True if the feature is supported, false if not.