Firefox Tomorrow

web api instance property

XRView: index property

View on MDN ↗

Secure contextLimited availability

The index read-only property of the XRView interface indicates the index of the current XRView in the views array.

Value

A number.

Examples

Basic usage

console.log(xrView.index);

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also