self:is_devtools_visible

Client

Retrieves whether the developer tools panel is currently open


Syntax

local result = self:is_devtools_visible()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
boolresulttrue if devtools is open, false otherwise

Examples

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

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

On this page