WebIDLpedia

XRViewport interface

Definition

WebXR Device API defines XRViewport



[SecureContext, Exposed=Window] interface XRViewport {
  readonly attribute long x;
  readonly attribute long y;
  readonly attribute long width;
  readonly attribute long height;
};

Methods and attributes that return objects implementing XRViewport

Referring IDL interfaces/dictionaries

Referring specifications