disableZoom property

bool? disableZoom
final

Disables user zoom when camera-controls is enabled (has no effect otherwise). Has the secondary effect of not swallowing mouse wheel events and pinch gestures, so these will then scroll and zoom the page, respectively.

<model-viewer> official document: https://modelviewer.dev/docs/#entrydocs-stagingandcameras-attributes-disable-zoom

Implementation

final bool? disableZoom;