change the option name to devTools
This commit is contained in:
parent
7d712b77ba
commit
3fdc99c3c6
3 changed files with 10 additions and 10 deletions
|
@ -225,7 +225,7 @@ Possible values of the `titleBarStyle` option are:
|
|||
|
||||
The `webPreferences` option is an object that can have the following properties:
|
||||
|
||||
* `disableDevTools` Boolean - Whether to disable DevTools. If it is set to `true`, can not use `BrowserWindow.webContents.openDevTools()` to open DevTools. Default is `false`.
|
||||
* `devTools` Boolean - Whether to enable DevTools. If it is set to `false`, can not use `BrowserWindow.webContents.openDevTools()` to open DevTools. Default is `true`.
|
||||
* `nodeIntegration` Boolean - Whether node integration is enabled. Default
|
||||
is `true`.
|
||||
* `preload` String - Specifies a script that will be loaded before other
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue