Allow using docked devtools for webview
This commit is contained in:
parent
ea9771702b
commit
6b408de884
2 changed files with 8 additions and 4 deletions
|
@ -1144,6 +1144,9 @@ app.once('ready', () => {
|
|||
|
||||
Opens the devtools.
|
||||
|
||||
When `contents` is a `<webview>` tag, the `mode` would be `detach` by default,
|
||||
explicitly passing an empty `mode` can force using last used dock state.
|
||||
|
||||
#### `contents.closeDevTools()`
|
||||
|
||||
Closes the devtools.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue