SetChildNodes

@Serializable
data class SetChildNodes(val parentId: NodeId, val nodes: List<Node>) : 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

Link copied to clipboard
constructor(parentId: NodeId, nodes: List<Node>)

Properties

Link copied to clipboard

Child nodes array.

Link copied to clipboard

Parent node id to populate with children.