XRInputSourcesChangeEventInit

Secure context
This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

The XRInputSourcesChangeEventInit dictionary is used to provide options to the XRInputSourcesChangeEvent() constructor in order to set the initial state of the new XRInputSourcesChangeEvent object.

Properties

added Read only
An array of zero or more XRInputSource objects, each representing one input device which is newly available to use.
removed Read only
An array of zero or more XRInputSource objects representing the input devices which are no longer available.
session Read only
The XRSession to which the event applies.

Examples

<tbd>

Specifications

Specification Status Comment
WebXR Device API
The definition of 'XRInputSourcesChangeEventInit' in that specification.
Working Draft Initial definition.

Browser compatibility

No compatibility data found. Please contribute data for "api.XRInputSourcesChangeEventInit" (depth: 1) to the MDN compatibility data repository.