improve the webContents.openDevTools
docs
consistent value notation and explain the difference between `undocked` and `detach` mode.
This commit is contained in:
parent
f1edd88e56
commit
ad09196433
1 changed files with 3 additions and 2 deletions
|
@ -655,8 +655,9 @@ Removes the specified path from DevTools workspace.
|
|||
### `webContents.openDevTools([options])`
|
||||
|
||||
* `options` Object (optional)
|
||||
* `mode` String - Opens the devtools with specified dock state, can be one of
|
||||
"right", "bottom", "undocked", "detach". Defaults to last used dock state.
|
||||
* `mode` String - Opens the devtools with specified dock state, can be
|
||||
`right`, `bottom`, `undocked`, `detach`. Defaults to last used dock state.
|
||||
In `undocked` mode it's possible to dock back. In `detach` mode it's not.
|
||||
|
||||
Opens the devtools.
|
||||
|
||||
|
|
Loading…
Reference in a new issue