API Reference > presentation-components > Tree > TreeWithUnifiedSelectionProps > onNodesSelected onNodesSelected MethodOptional Called when nodes are selected. The callback should return true to continue default handling or false otherwise. onNodesSelected(items: TreeNodeItem[], replace: boolean): boolean Parameter Type Description items TreeNodeItem[] replace boolean Returns - boolean Defined in presentation/components/src/presentation-components/tree/WithUnifiedSelection.tsx Line 30 Last Updated: 11 June, 2024