VisualViewport.pageTop

The pageTop read-only property of the VisualViewport interface returns the y coordinate of the top edge of the visual viewport relative to the initial containing block origin, in CSS pixels.

Value

A double.

Specifications

Specification
Visual Viewport API
# dom-visualviewport-pagetop

Browser compatibility

BCD tables only load in the browser