зеркало из https://github.com/electron/electron.git
docs: left is a valid mode in contents.openDevTools() options (#32372)
This commit is contained in:
Родитель
948db1d881
Коммит
6d8a858897
|
@ -1611,7 +1611,7 @@ app.whenReady().then(() => {
|
|||
|
||||
* `options` Object (optional)
|
||||
* `mode` string - Opens the devtools with specified dock state, can be
|
||||
`right`, `bottom`, `undocked`, `detach`. Defaults to last used dock state.
|
||||
`left`, `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.
|
||||
* `activate` boolean (optional) - Whether to bring the opened devtools window
|
||||
to the foreground. The default is `true`.
|
||||
|
|
Загрузка…
Ссылка в новой задаче