VisualViewport.offsetTop
The offsetTop
read-only property of the
VisualViewport
interface returns the offset of the top edge of the visual
viewport from the top edge of the layout viewport in CSS pixels.
Value
A double.
Specifications
Specification |
---|
Visual Viewport API # dom-visualviewport-offsettop |
Browser compatibility
BCD tables only load in the browser