Skip to content

MobileCRM.Bridge.enableZoom

rescocrm edited this page May 15, 2023 · 4 revisions

Enables platform-specific pinch zoom gesture.

After calling this method, it is possible to use the pinch gesture to control the content zoom. This functionality is implemented only on Android. Other platforms either do not support zoom or it is controlled by the HTML viewport meta tag.

Arguments

Argument Type Description
enable Boolean Indicates whether to enable or disable zooming support.

This example demonstrates how to enable zooming on Android iFrame. Method "enableZoom" has dummy implementation on other platforms.

MobileCRM.bridge.enableZoom(true);
Clone this wiki locally