From 992f30b9272f91adbfd7de032bf445594e12f83c Mon Sep 17 00:00:00 2001 From: Milan Burda Date: Thu, 6 Jan 2022 22:49:49 +0100 Subject: [PATCH] docs: left is a valid mode in contents.openDevTools() options --- docs/api/web-contents.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index 54f322ffa5d04..0ee3e965d527b 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -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`.