WindowOpenHandlerResponse オブジェクト
actionstring -allowまたはdenyにできます。 新規ウインドウを作成するかどうかを制御します。overrideBrowserWindowOptionsBrowserWindowConstructorOptions (任意) - 作成されるウインドウをカスタマイズできます。outlivesOpenerboolean (任意) - 既定では、親ウインドウが閉じられるとその子ウインドウも一緒に閉じられます。 これはoutlivesOpener: trueを指定することで変更できます。こうすると、親ウインドウが閉じられても子ウインドウは閉じなくなります。createWindow(options: BrowserWindowConstructorOptions) => WebContents (optional) - If specified, will be called instead ofnew BrowserWindowto create the new child window and eventdid-create-windowwill not be emitted. 構築される子ウインドウには渡されたoptionsオブジェクトを使用すべきです。 これを利用すると例えば、新しいウィンドウを別のウィンドウではなく BrowserView として開くことができます。