GetEventListenersRequest

@Serializable
data class GetEventListenersRequest(val objectId: RemoteObjectId, val depth: Int? = null, val pierce: Boolean? = null)

Request object containing input parameters for the DOMDebuggerDomain.getEventListeners command.

Constructors

Link copied to clipboard
constructor(objectId: RemoteObjectId, depth: Int? = null, pierce: Boolean? = null)

Types

Link copied to clipboard
class Builder(val objectId: RemoteObjectId)

A builder for GetEventListenersRequest, which allows setting the optional parameters of the DOMDebuggerDomain.getEventListeners command via a lambda.

Properties

Link copied to clipboard
val depth: Int?

The maximum depth at which Node children should be retrieved, defaults to 1. Use -1 for the entire subtree or provide an integer larger than 0.

Link copied to clipboard

Identifier of the object to return listeners for.

Link copied to clipboard

Whether or not iframes and shadow roots should be traversed when returning the subtree (default is false). Reports listeners for all contexts if pierce is enabled.