Skip to main content
You can set the initial zoom level in App Studio during configuration, or control it dynamically using the Median JavaScript Bridge for runtime adjustments.

Implementation guide

You can control the webview zoom through initial configuration and through runtime JavaScript methods, for both static zoom settings and dynamic adjustments based on user interactions or content.

App configuration

To use the WebView zoom feature, set Viewport Width to WebView Scale in the Interface settings of your app.
Viewport Width set to WebView Scale in App Studio

App Studio – Interface – Viewport Width

JavaScript implementation

Get current zoom level

To retrieve the current zoom level of the webview:

Set zoom level

To set a new zoom level at runtime:
Last modified on December 3, 2026