Header menu logo fable-electron-docs-api

Opts Type

Constructors

Constructor Description

Opts(waitForBeforeUnload)

Full Usage: Opts(waitForBeforeUnload)

Parameters:
    waitForBeforeUnload : bool - if true, fire the beforeunload event before closing the page. If the page prevents the unload, the WebContents will not be closed. The will-prevent-unload will be fired if the page requests prevention of unload.

Returns: Opts
waitForBeforeUnload : bool

if true, fire the beforeunload event before closing the page. If the page prevents the unload, the WebContents will not be closed. The will-prevent-unload will be fired if the page requests prevention of unload.

Returns: Opts

Instance members

Instance member Description

this.waitForBeforeUnload

Full Usage: this.waitForBeforeUnload

if true, fire the beforeunload event before closing the page. If the page prevents the unload, the WebContents will not be closed. The will-prevent-unload will be fired if the page requests prevention of unload.

Type something to start searching.