puppeteer/new-docs/puppeteer.protocol.domdebugger.geteventlistenersrequest.md

21 lines
1.3 KiB
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [DOMDebugger](./puppeteer.protocol.domdebugger.md) &gt; [GetEventListenersRequest](./puppeteer.protocol.domdebugger.geteventlistenersrequest.md)
## Protocol.DOMDebugger.GetEventListenersRequest interface
<b>Signature:</b>
```typescript
export interface GetEventListenersRequest
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [depth](./puppeteer.protocol.domdebugger.geteventlistenersrequest.depth.md) | [integer](./puppeteer.protocol.integer.md) | 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](./puppeteer.protocol.domdebugger.geteventlistenersrequest.objectid.md) | [Runtime.RemoteObjectId](./puppeteer.protocol.runtime.remoteobjectid.md) | Identifier of the object to return listeners for. |
| [pierce](./puppeteer.protocol.domdebugger.geteventlistenersrequest.pierce.md) | 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. |