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

This commit is contained in:
Milan Burda 2022-01-10 10:50:18 +01:00 committed by GitHub
parent 948db1d881
commit 6d8a858897
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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`.