docs: limits of nativeWindowOpen (#15754)
This commit is contained in:
parent
d9efaa946b
commit
eb30cc2ede
1 changed files with 4 additions and 2 deletions
|
@ -351,8 +351,10 @@ It creates a new `BrowserWindow` with native properties as set by the `options`.
|
||||||
Console tab. **Note:** This option is currently experimental and may
|
Console tab. **Note:** This option is currently experimental and may
|
||||||
change or be removed in future Electron releases.
|
change or be removed in future Electron releases.
|
||||||
* `nativeWindowOpen` Boolean (optional) - Whether to use native
|
* `nativeWindowOpen` Boolean (optional) - Whether to use native
|
||||||
`window.open()`. Defaults to `false`. **Note:** This option is currently
|
`window.open()`. If set to `true`, the `webPreferences` of child window
|
||||||
experimental.
|
will always be the same with parent window, regardless of the parameters
|
||||||
|
passed to `window.open()`. Defaults to `false`. **Note:** This option is
|
||||||
|
currently experimental.
|
||||||
* `webviewTag` Boolean (optional) - Whether to enable the [`<webview>` tag](webview-tag.md).
|
* `webviewTag` Boolean (optional) - Whether to enable the [`<webview>` tag](webview-tag.md).
|
||||||
Defaults to the value of the `nodeIntegration` option. **Note:** The
|
Defaults to the value of the `nodeIntegration` option. **Note:** The
|
||||||
`preload` script configured for the `<webview>` will have node integration
|
`preload` script configured for the `<webview>` will have node integration
|
||||||
|
|
Loading…
Add table
Reference in a new issue