安全上下文
此特征只可用于 安全上下文 (HTTPS),在某些或所有 支持浏览器 .

inputsourceschange event is sent to an XRSession when the set of available WebXR input devices changes. The received event, of type XRInputSourcesChangeEvent , contains a list of any newly 添加 and/or removed input devices.

冒泡 Yes
可取消 No
接口 XRInputSourcesChangeEvent
事件处理程序特性 oninputsourceschange

The event object contains lists of the newly-added and/or removed input devices in its 添加 and removed 特性。

范例

规范

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

浏览器兼容性

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

元数据

  • 最后修改: