MDN self-hosted library · e01.org

VisualViewport: scale property

CSSOM view API

no runnable cells web-api-instance-property upstream source

CSSOM view API

The scale read-only property of the VisualViewport interface returns the pinch-zoom scaling factor applied to the visual viewport, or 0 if current document is not fully active, or 1 if there is no output device.

Value

A double.

Specifications

Browser compatibility