TreeModel Interface
Data structure that describes tree model.
Implemented by
Methods
Name | Description | |
---|---|---|
getChildOffset(parentId: string, childId: string): undefined | number | ||
getChildren(parentId: string): undefined | SparseArray<string> | ||
getNode(id: string): undefined | TreeModelNode | ||
getNode(parentId: string, childIndex: number): undefined | TreeModelNode | TreeModelNodePlaceholder | ||
getNode(nodeId: string, childIndex?: number): undefined | TreeModelNode | TreeModelNodePlaceholder | TreeModelRootNode | ||
getRootNode(): TreeModelRootNode | ||
iterateTreeModelNodes(parentId?: string): IterableIterator<TreeModelNode> |
Defined in
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.