MDN self-hosted library · e01.org

Window: visualViewport property

CSSOM view API

no runnable cells web-api-instance-property upstream source

CSSOM view API

The visualViewport read-only property of the Window interface returns a VisualViewport object representing the visual viewport for a given window, or null if current document is not fully active.

Value

A VisualViewport object.

Specifications

Browser compatibility