DidCreateWindowDetails

external interface DidCreateWindowDetails(source)

Properties

Link copied to clipboard

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

Link copied to clipboard
abstract var frameName: String

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

Link copied to clipboard

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.

Link copied to clipboard
abstract var 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.

Link copied to clipboard
abstract var 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.

Link copied to clipboard
abstract var url: String

URL for the created window.