VisualViewport.scale

The scale read-only property of the VisualViewport interface returns the pinch-zoom scaling factor applied to the visual viewport.

Value

A double.

Specifications

Specification
Visual Viewport API
# dom-visualviewport-scale

Browser compatibility

BCD tables only load in the browser