Opts Type
Constructors
| Constructor |
Description
|
Full Usage:
Opts(waitForBeforeUnload)
Parameters:
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
|
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. |
fable-electron-docs-api