Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.DOM.SetChildNodesEvent
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { SetChildNodesEvent } = Protocol.DOM;

Fired when backend wants to provide client with the missing DOM structure. This happens upon most of the calls requesting node ids.

Properties

parentId: NodeId

Parent node id to populate with children.

nodes: Node[]

Child nodes array.