WebIDLpedia

XRLayerEvent interface

Definition

WebXR Layers API Level 1 defines XRLayerEvent



[SecureContext, Exposed=Window] interface XRLayerEvent : Event {
  constructor(DOMString type, XRLayerEventInit eventInitDict);
  [SameObject] readonly attribute XRLayer layer;
};

Methods and attributes that return objects implementing XRLayerEvent