Skip to content

Commit

Permalink
chore: Added documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
t57ser committed Jan 25, 2022
1 parent 2fbadf6 commit 2de6d70
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/api/window-open.md
Expand Up @@ -73,6 +73,11 @@ 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: { ... } }`,
`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`.

### Native `Window` example

```javascript
Expand Down

0 comments on commit 2de6d70

Please sign in to comment.