WorkspaceParent.replaceChild method
WorkspaceParent › replaceChild
Unofficial
Replaces the child at the given index.Signature:
replaceChild(index: number, child: WorkspaceItem): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| index | number | The index to replace at. |
| child | WorkspaceItem | The replacement child. |
Returns: void