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
addedRead only- An array of zero or more
XRInputSourceobjects, each representing one input device which is newly available to use. removedRead only- An array of zero or more
XRInputSourceobjects representing the input devices which are no longer available. sessionRead only- The
XRSessionto 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.
