pl.wendigo.chrome.api.domdebugger / GetEventListenersRequest

GetEventListenersRequest

data class GetEventListenersRequest (source)

Represents request frame that can be used with DOMDebugger#getEventListeners operation call.

Returns event listeners of the given object.

Link
DOMDebugger#getEventListeners method documentation.

See Also

DOMDebuggerOperations.getEventListeners

Constructors

<init>

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

Represents request frame that can be used with DOMDebugger#getEventListeners operation call.

Properties

depth

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.

objectId

val objectId: RemoteObjectId

Identifier of the object to return listeners for.

pierce

val pierce: Boolean?

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.