Web/API/XRInputSourcesChangeEventInit/removed
From Get docs
Secure contextThis feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The XRInputSourcesChangeEventInit
property removed
is an array of zero or more XRInputSource
objects, each representing one input source which has been removed from the XRSession
.
Syntax
let inputSourcesEventInit = { session: xrSession, added: [newDevice1, ..., newDeviceN], removed: [removedDevice1, ..., newDeviceN], }; myInputSourcesChangeEvent = new XRInputSourcesChangeEventInit("inputsourceschange", inputSourcesEventInit); myInputSourcesChangeEvent = new XRInputSourcesChangeEventInit("inputsourceschange", { session: xrSession, added: addedDeviceList, removed: removedDeviceList });
Value
An Array
of zero or more XRInputSource
objects, each representing one input device removed from the XR system.
Specifications
Specification | Status | Comment |
---|---|---|
WebXR Device APIThe definition of 'XRInputSourcesChangeEventInit.removed' in that specification. | Working Draft | Initial definition. |
Browser compatibility
No compatibility data found. Please contribute data for "api.XRInputSourcesChangeEventInit.removed" (depth: 1) to the MDN compatibility data repository.
XRInputSourcesChangeEventInit.removed by Mozilla Contributors is licensed under CC-BY-SA 2.5.