VisualViewport: pageTop property
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 |
|---|
| CSSOM View Module # dom-visualviewport-pagetop |
Browser compatibility
BCD tables only load in the browser