VisualViewport: width property
The width
read-only property of the VisualViewport
interface returns the width of the visual viewport, in CSS pixels, or 0
if current document is not fully active.
Value
A double.
Specifications
Specification |
---|
CSSOM View Module # dom-visualviewport-width |
Browser compatibility
BCD tables only load in the browser