getNodesCount Method
Returns the total number of nodes
getNodesCount(parentNode?: TreeNodeItem): Promise<number>
Parameter | Type | Description |
---|---|---|
parentNode | TreeNodeItem | The parent node to return children count for. |
Returns - Promise
Defined in
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.