WindowOpenHandlerResponse

external interface WindowOpenHandlerResponse(source)

Properties

Link copied to clipboard

Can be allow or deny. Controls whether new window should be created.

Link copied to clipboard

If specified, will be called instead of new BrowserWindow to create the new child window and event did-create-window will not be emitted. Constructed child window should use passed options object. This can be used for example to have the new window open as a BrowserView instead of in a separate window.

Link copied to clipboard
abstract var outlivesOpener: Boolean?

By default, child windows are closed when their opener is closed. This can be changed by specifying outlivesOpener: true, in which case the opened window will not be closed when its opener is closed.

Link copied to clipboard

Allows customization of the created window.