WindowOpenEvent

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

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

Constructors

WindowOpenEvent
Link copied to clipboard
fun WindowOpenEvent(url: String, windowName: String, windowFeatures: List<String>, userGesture: Boolean)

Functions

domain
Link copied to clipboard
open override fun domain(): String
Returns domain name for which event was generated.
eventName
Link copied to clipboard
open override fun eventName(): String
Returns event name as described in protocol.

Properties

url
Link copied to clipboard
val url: String
The URL for the new window.
userGesture
Link copied to clipboard
val userGesture: Boolean
Whether or not it was triggered by user gesture.
windowFeatures
Link copied to clipboard
val windowFeatures: List<String>
An array of enabled window features.
windowName
Link copied to clipboard
val windowName: String
Window name.

Sources

jvm source
Link copied to clipboard