mirror of
https://github.com/electron/electron.git
synced 2026-01-26 07:48:08 -05:00
update browser-window.md to add disableDevTools option
This commit is contained in:
@@ -225,6 +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`.
|
||||
* `nodeIntegration` Boolean - Whether node integration is enabled. Default
|
||||
is `true`.
|
||||
* `preload` String - Specifies a script that will be loaded before other
|
||||
|
||||
Reference in New Issue
Block a user