Vital.sandbox
Webview

self:is_zoomable

Client

Retrieves whether zoom hotkeys are enabled on the webview


Syntax

local result = self:is_zoomable()

Parameters

TypeNameDescription

Returns

TypeNameDescription
boolresulttrue if zoom hotkeys are enabled, false otherwise

Examples

Check if zoom hotkeys are enabled on a webview
local browser = webview.create()

engine.print("info", "Webview zoomable:", browser:is_zoomable())

On this page