Header menu logo fable-electron-docs-api

Details Type

Constructors

Constructor Description

Details(url, frameName, options, referrer, disposition, ?postBody)

Full Usage: Details(url, frameName, options, referrer, disposition, ?postBody)

Parameters:
    url : 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
url : 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

this.disposition

Full Usage: this.disposition

Can be default, foreground-tab, background-tab, new-window or other.

this.frameName

Full Usage: this.frameName

Name given to the created window in the window.open() call.

this.options

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.

this.postBody

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.

this.referrer

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.

this.url

Full Usage: this.url

URL for the created window.

Type something to start searching.