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

XRInputSourcesChangeEventInit dictionary is used to provide options to the XRInputSourcesChangeEvent() constructor in order to set the initial state of the new XRInputSourcesChangeEvent 对象。


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




规范 状态 Comment
WebXR 设备 API
The definition of 'XRInputSourcesChangeEventInit' in that specification.
工作草案 初始定义。


No compatibility data found. Please contribute data for "api.XRInputSourcesChangeEventInit" (depth: 1) to the MDN 兼容性数据存储库 .