Skip to content

WorkspaceParent.replaceChild method

WorkspaceParent › replaceChild

Unofficial

Replaces the child at the given index.

Signature:

replaceChild(index: number, child: WorkspaceItem): void

Parameters:

Parameter Type Description
index number The index to replace at.
child WorkspaceItem The replacement child.

Returns: void