diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index 64e7cea60e79..4576e77ddf91 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -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.