You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/browser-window.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -225,6 +225,7 @@ Possible values of the `titleBarStyle` option are:
225
225
226
226
The `webPreferences` option is an object that can have the following properties:
227
227
228
+
*`disableDevTools` Boolean - Whether to disable DevTools. If it is set to `true`, can not use `BrowserWindow.webContents.openDevTools()` to open DevTools. Default is `false`.
228
229
*`nodeIntegration` Boolean - Whether node integration is enabled. Default
229
230
is `true`.
230
231
*`preload` String - Specifies a script that will be loaded before other
0 commit comments