From 2de6d70ff2354a8dce4c3f95bd15a52ddeb13317 Mon Sep 17 00:00:00 2001 From: srogotzki Date: Thu, 7 Oct 2021 09:20:22 +0200 Subject: [PATCH] chore: Added documentation --- docs/api/window-open.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/api/window-open.md b/docs/api/window-open.md index a2cb76a2a569e..c3e017a719802 100644 --- a/docs/api/window-open.md +++ b/docs/api/window-open.md @@ -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