WebIDLpedia

XRInputSourcesChangeEvent interface

Definition

WebXR Device API defines XRInputSourcesChangeEvent



[SecureContext, Exposed=Window]
interface XRInputSourcesChangeEvent : Event {
  constructor(DOMString type, XRInputSourcesChangeEventInit eventInitDict);
  [SameObject] readonly attribute XRSession session;
  [SameObject] readonly attribute FrozenArray<XRInputSource> added;
  [SameObject] readonly attribute FrozenArray<XRInputSource> removed;
};

Methods and attributes that return objects implementing XRInputSourcesChangeEvent