chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.domdebugger / GetEventListenersRequest

GetEventListenersRequest

data class GetEventListenersRequest

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

Constructors

<init>

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

GetEventListenersRequest(objectId: RemoteObjectId, depth: Int? = null, pierce: Boolean? = null)

Properties

depth

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.

val depth: Int?

objectId

Identifier of the object to return listeners for.

val objectId: RemoteObjectId

pierce

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.

val pierce: Boolean?