Window.visualViewport
The visualViewport
read-only property of the
Window
interface returns a VisualViewport
object
representing the visual viewport for a given window.
Value
A VisualViewport
object.
Specifications
Specification |
---|
Visual Viewport API # dom-window-visualviewport |
Browser compatibility
BCD tables only load in the browser