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.
visualViewport
Window
VisualViewport
null
A VisualViewport object.