Skip to content

@continuum-js/dom


@continuum-js/dom / insertChild

Function: insertChild()

insertChild(parent, child, anchor?): void

Defined in: index.tsx:271

Internal

Insert child before anchor (or append) — the one child semantics shared by the JSX factory and the compiled-template runtime.

Parameters

parent

Node

child

Child

anchor?

Node | null

Returns

void