puppeteer/new-docs/puppeteer.protocol.dom.setchildnodesevent.md

22 lines
944 B
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; [DOM](./puppeteer.protocol.dom.md) &gt; [SetChildNodesEvent](./puppeteer.protocol.dom.setchildnodesevent.md)
## Protocol.DOM.SetChildNodesEvent interface
Fired when backend wants to provide client with the missing DOM structure. This happens upon most of the calls requesting node ids.
<b>Signature:</b>
```typescript
export interface SetChildNodesEvent
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [nodes](./puppeteer.protocol.dom.setchildnodesevent.nodes.md) | [Node](./puppeteer.protocol.dom.node.md)<!-- -->\[\] | Child nodes array. |
| [parentId](./puppeteer.protocol.dom.setchildnodesevent.parentid.md) | [NodeId](./puppeteer.protocol.dom.nodeid.md) | Parent node id to populate with children. |