Skip to Content

insertChild

insertChild(parent: AnumaNode, node: AnumaNode, afterId?: string): void

Defined in: src/tools/slides/jsx.ts:1126 

Insert node into parent.children. If afterId is provided, the new node is inserted immediately after the matched sibling; otherwise it is appended to the end.

Parameters

ParameterType

parent

AnumaNode

node

AnumaNode

afterId?

string

Returns

void

Last updated on