self:is_visible

Client

Retrieves whether the webview is currently visible


Syntax

local result = self:is_visible()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolresulttrue if the webview is visible, false otherwise

Examples

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

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

On this page