VisualViewport.width

The width read-only property of the VisualViewport interface returns the width of the visual viewport, in CSS pixels.

Value

A double.

Specifications

Specification
Unknown specification
# dom-visualviewport-width

Browser compatibility

BCD tables only load in the browser