Skip to content

Commit

Permalink
Update docs/api/window-open.md
Browse files Browse the repository at this point in the history
Co-authored-by: John Kleinschmidt <jkleinsc@github.com>
  • Loading branch information
t57ser and John Kleinschmidt committed Jan 25, 2022
1 parent 2de6d70 commit d73176f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/window-open.md
Expand Up @@ -73,7 +73,7 @@ creating the window. Note that this is more powerful than passing options
through the feature string, as the renderer has more limited privileges in
deciding security preferences than the main process.

Additionally to `{ action: 'allow', overrideBrowserWindowOptions: { ... } }`,
In addition to passing in `action` and `overrideBrowserWindowOptions`,
`closeWithOpener` can be passed like: `{ action: 'allow', closeWithOpener: false,
overrideBrowserWindowOptions: { ... } }`. If set to `false`, child windows will not
be closed when the opener window closes. The default value is `true`.
Expand Down

0 comments on commit d73176f

Please sign in to comment.