Vital.sandbox
Webview

self:is_devtools_visible

Client

Retrieves whether the developer tools panel is currently open


Syntax

local result = self:is_devtools_visible()

Parameters

TypeNameDescription

Returns

TypeNameDescription
boolresulttrue if devtools is open, false otherwise

Examples

Check if devtools is open on a webview
local browser = webview.create()

engine.print("info", "Devtools open:", browser:is_devtools_visible())

On this page