VisualViewport.offsetleft
The offsetLeft read-only property of the VisualViewport interface returns the offset of the left edge of the visual viewport from the left edge of the layout viewport in CSS pixels.
Syntax
var offsetLeft = VisualViewport.offsetLeft
Value
A double.
Specifications
| Specification |
|---|
| CSSOM View Module # dom-visualviewport-offsetleft |
Browser compatibility
BCD tables only load in the browser