MDN self-hosted library · e01.org

Viewport

Viewport Segments API

no runnable cells web-api-interface upstream source

Viewport Segments API

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

Instance properties

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

Specifications

Browser compatibility

See also