getNodeKey Method

Deprecated  in 4.0. Use isPresentationTreeNodeItem and PresentationTreeNodeItem.key to get NodeKey.

Returns a NodeKey from given TreeNodeItem.

Warning: Returns invalid NodeKey if node is not a PresentationTreeNodeItem.

getNodeKey(node: TreeNodeItem): NodeKey

Parameter Type Description
node TreeNodeItem  

Returns - NodeKey

Defined in

Last Updated: 06 November, 2024