Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.DOMDebugger.GetEventListenersRequest
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { GetEventListenersRequest } = Protocol.DOMDebugger;

Properties

Identifier of the object to return listeners for.

optional
depth: integer

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.

optional
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.