devtools: allow opening in specified dock state
This commit is contained in:
parent
0bf1e56156
commit
58dfad4d01
2 changed files with 12 additions and 5 deletions
|
@ -647,7 +647,8 @@ Removes the specified path from DevTools workspace.
|
|||
### `webContents.openDevTools([options])`
|
||||
|
||||
* `options` Object (optional)
|
||||
* `detach` Boolean - opens DevTools in a new window
|
||||
* `mode` String - Opens the devtools with specified dock state, can be one of
|
||||
"right", "bottom", "undocked", "detach". Defaults to last used dock state.
|
||||
|
||||
Opens the devtools.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue