setNumChildren Method
Sets number of how many child nodes the parent will have. If parent already has some nodes they are removed.
setNumChildren(parentId: string | undefined, numChildren: number): void
| Parameter | Type | Description |
|---|---|---|
| parentId | string | undefined | |
| numChildren | number |
Defined in
Last Updated: 08 January, 2020