removeChild Method
Removes children specified by id.
removeChild(parentId: string | undefined, childId: string): void
| Parameter | Type | Description |
|---|---|---|
| parentId | string | undefined | id of parent node or undefined to remove root node. |
| childId | string | id of node that should be removed. |
Defined in
Last Updated: 08 January, 2020