springroll.Features Class

Defined in: springroll.Features:9
Module: Container

Provide feature detection

basic

() String
static

Defined in basic:114

Test for basic browser compatiliblity

Returns:

String:

The error message, if fails

test

(
  • capabilities
)
String | Null
static

Defined in test:133

See if the current bowser has the correct features

Parameters:

Returns:

String | Null:

The error, or else returns null

canvas

Boolean

Defined in canvas:57

If the browser has Canvas support

flash

Boolean

Defined in flash:15

If the browser has flash

geolocation

Boolean

Defined in geolocation:85

If the browser has Geolocation API

touch

Boolean

Defined in touch:103

If the browser has touch

webaudio

Boolean

Defined in webaudio:67

If the browser has WebAudio API support

webgl

Boolean

Defined in webgl:42

If the browser has WebGL support

websockets

Boolean

Defined in websockets:76

If the browser has Web Sockets API

webworkers

Boolean

Defined in webworkers:94

If the browser has Web Workers API