Merge pull request #5367 from sindresorhus/patch-1
improve the `webContents.openDevTools` docs
This commit is contained in:
commit
4c1a0d29b0
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