VisualViewport Properties |
The VisualViewport type exposes the following members.
Name | Description | |
---|---|---|
ClientHeight |
Height (CSS pixels), excludes scrollbar if present.
| |
ClientWidth |
Width (CSS pixels), excludes scrollbar if present.
| |
OffsetX |
Horizontal offset relative to the layout viewport (CSS pixels).
| |
OffsetY |
Vertical offset relative to the layout viewport (CSS pixels).
| |
PageX |
Horizontal offset relative to the document (CSS pixels).
| |
PageY |
Vertical offset relative to the document (CSS pixels).
| |
Scale |
Scale relative to the ideal viewport (size at width=device-width).
| |
Zoom |
Page zoom factor (CSS to device independent pixels ratio).
|