docs: left is a valid mode in contents.openDevTools() options (#32372) (#32403)

This commit is contained in:
Milan Burda
2022-01-10 22:53:13 +01:00
committed by GitHub
parent adb571bcde
commit 68a512a541

View File

@@ -1612,7 +1612,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`.