EventListener

data class EventListener(type: String, useCapture: Boolean, passive: Boolean, once: Boolean, scriptId: ScriptId, lineNumber: Int, columnNumber: Int, handler: RemoteObject?, originalHandler: RemoteObject?, backendNodeId: BackendNodeId?)

Object event listener.

Constructors

EventListener
Link copied to clipboard
fun EventListener(type: String, useCapture: Boolean, passive: Boolean, once: Boolean, scriptId: ScriptId, lineNumber: Int, columnNumber: Int, handler: RemoteObject? = null, originalHandler: RemoteObject? = null, backendNodeId: BackendNodeId? = null)

Properties

backendNodeId
Link copied to clipboard
val backendNodeId: BackendNodeId? = null
Node the listener is added to (if any).
columnNumber
Link copied to clipboard
val columnNumber: Int
Column number in the script (0-based).
handler
Link copied to clipboard
val handler: RemoteObject? = null
Event handler function value.
lineNumber
Link copied to clipboard
val lineNumber: Int
Line number in the script (0-based).
once
Link copied to clipboard
val once: Boolean
EventListener's once flag.
originalHandler
Link copied to clipboard
val originalHandler: RemoteObject? = null
Event original handler function value.
passive
Link copied to clipboard
val passive: Boolean
EventListener's passive flag.
scriptId
Link copied to clipboard
val scriptId: ScriptId
Script id of the handler code.
type
Link copied to clipboard
val type: String
EventListener's type.
useCapture
Link copied to clipboard
val useCapture: Boolean
EventListener's useCapture.

Sources

jvm source
Link copied to clipboard