HandlerDetails

external interface HandlerDetails(source)

Properties

Link copied to clipboard

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

Link copied to clipboard
abstract var features: String

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

Link copied to clipboard
abstract var frameName: String

Name of the window provided in window.open()

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

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.