EventListener

@Serializable
data class EventListener(val type: String, val useCapture: Boolean, val passive: Boolean, val once: Boolean, val scriptId: String, val lineNumber: Int, val columnNumber: Int, val handler: Runtime.RemoteObject? = null, val originalHandler: Runtime.RemoteObject? = null, val backendNodeId: Int? = null)

Object event listener.

Constructors

Link copied to clipboard
constructor(type: String, useCapture: Boolean, passive: Boolean, once: Boolean, scriptId: String, lineNumber: Int, columnNumber: Int, handler: Runtime.RemoteObject? = null, originalHandler: Runtime.RemoteObject? = null, backendNodeId: Int? = null)

Properties

Link copied to clipboard
val backendNodeId: Int? = null

Node the listener is added to (if any).

Link copied to clipboard

Column number in the script (0-based).

Link copied to clipboard

Event handler function value.

Link copied to clipboard

Line number in the script (0-based).

Link copied to clipboard

EventListener's once flag.

Link copied to clipboard

Event original handler function value.

Link copied to clipboard

EventListener's passive flag.

Link copied to clipboard

Script id of the handler code.

Link copied to clipboard

EventListener's type.

Link copied to clipboard

EventListener's useCapture.