Skip to main content
cngx-src documentation

collectDescendantValues

Functionutils/tree

projects/utils/tree.ts

Description#

Collect all descendant values of a node (exclusive of the node itself), in DFS order. For cascade-select: toggling a parent flips all entries in this list atomically.

Signature#

collectDescendantValues(node: CngxTreeNode)

Parameters#

@paramnodeCngxTreeNode

Returns#

T[]