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
| Type | Name | Description |
|---|---|---|
bool | result | true if devtools is open, false otherwise |
Examples
local wv = webview.create()
engine.print("info", "Devtools open:", wv:is_devtools_visible())