self:is_zoomable

Client

Retrieves whether zoom hotkeys are enabled on the webview


Syntax

local result = self:is_zoomable()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolresulttrue if zoom hotkeys are enabled, false otherwise

Examples

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

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

On this page