Vital.sandbox
Webview

self:is_visible

Client

Retrieves whether the webview is currently visible


Syntax

local result = self:is_visible()

Parameters

TypeNameDescription

Returns

TypeNameDescription
boolresulttrue if the webview is visible, false otherwise

Examples

Check if a webview is currently visible
local browser = webview.create()

engine.print("info", "Webview visible:", browser:is_visible())

On this page