Class: Capabilities

html.Capabilities

Class for testing the capabilities of the runtime environment.

new html.Capabilities ()

Properties:
Name Type Description
atomics bool

[readonly] Whether atomics are supported.

canvas bool

[readonly] Whether canvas is supported.

crossOriginIsolated bool

[readonly] Whether the environment is cross-origin-isolated.

fullscreen bool

[readonly] Whether fullscreen mode is supported.

gamePad bool

[readonly] Whether game pads and other game controllers are supported.

indexedDB bool

[readonly] Whether Indexed DB is supported.

mediaDevices bool

[readonly] Whether media devices are supported.

pointerEvent bool

[readonly] Whether pointer events are supported.

webAssembly bool

[readonly] Whether Web Assembly is supported.

webGL bool

[readonly] Whether WebGL is supported.

webGL2 bool

[readonly] Whether WebGL version 2 is supported.

webWorkers bool

[readonly] Whether Web Workers are supported.

webXR bool

[readonly] Whether WebXR for Virtual Reality and Augmented Reality is supported.

Extends