Webview
self:is_devtools_visible
Client
Retrieves whether the developer tools panel is currently open
Syntax
local result = self:is_devtools_visible()Parameters
| Type | Name | Description |
|---|
Returns
| Type | Name | Description |
|---|---|---|
bool | result | true if devtools is open, false otherwise |
Examples
local browser = webview.create()
engine.print("info", "Devtools open:", browser:is_devtools_visible())