Header menu logo fable-electron-docs-api

Details Type

Constructors

Constructor Description

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

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

Parameters:
    url : string - The _resolved_ version of the URL passed to window.open(). e.g. opening a window with window.open('foo') will yield something like https://the-origin/the/current/path/foo.
    frameName : string - Name of the window provided in window.open()
    features : string - Comma separated list of window features provided to window.open().
    disposition : Disposition - Can be default, foreground-tab, background-tab, new-window or other.
    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.
    ?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

The _resolved_ version of the URL passed to window.open(). e.g. opening a window with window.open('foo') will yield something like https://the-origin/the/current/path/foo.

frameName : string

Name of the window provided in window.open()

features : string

Comma separated list of window features provided to window.open().

disposition : Disposition

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

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.

?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.features

Full Usage: this.features

Comma separated list of window features provided to window.open().

this.frameName

Full Usage: this.frameName

Name of the window provided in window.open()

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

The resolved version of the URL passed to window.open(). e.g. opening a window with window.open('foo') will yield something like https://the-origin/the/current/path/foo.

Type something to start searching.