getNode Method

Overloads
getNode(parentId, childIndex)  
getNode(id)  

getNode(parentId, childIndex)

getNode(parentId: string, childIndex: number): undefined | MutableTreeModelNode | TreeModelNodePlaceholder

Parameter Type Description
parentId string  
childIndex number  

Returns - undefined | MutableTreeModelNode | TreeModelNodePlaceholder



getNode(id)

Returns tree node or placeholder for node that is not loaded yet.

getNode(id: string): undefined | MutableTreeModelNode

@returns node, node placeholder or undefined if node is not found in model.

Parameter Type Description
id string  

Returns - undefined | MutableTreeModelNode

node, node placeholder or undefined if node is not found in model.


Defined in

Last Updated: 20 November, 2024