Firefox Tomorrow

web api interface

Viewport

View on MDN ↗

Limited availability

The Viewport interface of the Viewport Segments API represents the device’s viewport.

Instance properties

  • segments Read only Experimental
    • : Returns an array of DOMRect objects representing the position and dimensions of each viewport segment within the overall display.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also