Crafty.support

Determines feature support for what Crafty can do.

Properties

Back to top

Crafty.support.audio

Is HTML5 Audio supported?

Back to top

Crafty.support.canvas

Is the canvas element supported?

Back to top

Crafty.support.css3dtransform

Is css3Dtransform supported by browser.

Back to top

Crafty.support.defineProperty

Is Object.defineProperty supported?

Back to top

Crafty.support.devicemotion

Is devicemotion event supported by browser.

Back to top

Crafty.support.deviceorientation

Is deviceorientation event supported by browser.

Back to top

Crafty.support.prefix

Returns the browser specific prefix (Moz, O, ms, webkit, node).

Back to top

Crafty.support.version

Version number of the browser as an Integer (first number)

Back to top

Crafty.support.versionName

Version of the browser

Back to top

Crafty.support.webgl

Is WebGL supported on the canvas element?