clearChildren Method

Removes all children for parent specified by id.

clearChildren(parentId: string | undefined): void

Parameter Type Description
parentId string | undefined id of parent node or undefined to remove root nodes.

Defined in

Last Updated: 08 January, 2020