Details Type
Constructors
| Constructor |
Description
|
Full Usage:
Details(url, frameName, options, referrer, disposition, ?postBody)
Parameters:
string
-
URL for the created window.
frameName : string
-
Name given to the created window in the window.open() call.
options : BrowserWindowConstructorOptions
-
The options used to create the BrowserWindow. They are merged in increasing precedence: parsed options from the features string
from window.open(), security-related webPreferences inherited from the parent, and options given by webContents.setWindowOpenHandler. Unrecognized options are not filtered out.
referrer : Referrer
-
The referrer that will be passed to the new window. May or may not result in the Referer header
being sent, depending on the referrer policy.
disposition : Disposition
-
Can be default, foreground-tab, background-tab, new-window or other.
?postBody : PostBody
-
The post data that will be sent to the new window, along with the appropriate headers that will be
set. If no post data is to be sent, the value will be null. Only defined when the window is
being created by a form that set target=_blank.
Returns: Details
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.disposition
|
Can be default, foreground-tab, background-tab, new-window or other. |
Full Usage:
this.frameName
|
Name given to the created window in the window.open() call. |
Full Usage:
this.options
|
The options used to create the BrowserWindow. They are merged in increasing precedence: parsed options from the features string from window.open(), security-related webPreferences inherited from the parent, and options given by webContents.setWindowOpenHandler. Unrecognized options are not filtered out. |
Full Usage:
this.postBody
|
The post data that will be sent to the new window, along with the appropriate headers that will be set. If no post data is to be sent, the value will be null. Only defined when the window is being created by a form that set target=_blank. |
Full Usage:
this.referrer
|
The referrer that will be passed to the new window. May or may not result in the Referer header being sent, depending on the referrer policy. |
Full Usage:
this.url
|
URL for the created window. |
fable-electron-docs-api