chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.dom.events / DOMEvent / SetChildNodesEvent

SetChildNodesEvent

data class SetChildNodesEvent : DOMEvent

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

Official doc

Constructors

<init>

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

SetChildNodesEvent(parentId: NodeId, nodes: List<Node>)

Properties

nodes

Child nodes array.

val nodes: List<Node>

parentId

Parent node id to populate with children.

val parentId: NodeId