VisualViewport: scale property

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
CSSOM View Module
# dom-visualviewport-scale

Browser compatibility

BCD tables only load in the browser