pl.wendigo.chrome.api.page / WindowOpenEvent

WindowOpenEvent

data class WindowOpenEvent : Event (source)

Fired when a new window is going to be opened, via window.open(), link click, form submission, etc.

Link
Page#windowOpen event documentation.

Constructors

<init>

WindowOpenEvent(url: String, windowName: String, windowFeatures: List<String>, userGesture: Boolean)

Fired when a new window is going to be opened, via window.open(), link click, form submission, etc.

Properties

url

val url: String

The URL for the new window.

userGesture

val userGesture: Boolean

Whether or not it was triggered by user gesture.

windowFeatures

val windowFeatures: List<String>

An array of enabled window features.

windowName

val windowName: String

Window name.

Inherited Functions

protocolDomain

fun protocolDomain(): String