TreeModel Interface

Beta  

Data structure that describes tree model.

Implemented by

Methods

Name Description
getChildren(parentId: string | undefined): SparseArray<string> | undefined    
getNode(id: string): TreeModelNode | undefined    
getNode(parentId: string | undefined, childIndex: number): TreeModelNode | TreeModelNodePlaceholder | undefined    
getNode(nodeId: string | undefined, childIndex?: number): TreeModelNode | TreeModelNodePlaceholder | TreeModelRootNode | undefined    
getRootNode(): TreeModelRootNode    
iterateTreeModelNodes(parentId?: string): IterableIterator<TreeModelNode>    

Defined in

Last Updated: 13 June, 2024