API Reference > ui-components > Tree > TreeEvents > onSelectionModified onSelectionModified MethodOptional Called when tree selection is modified. If Subscription is returned it can be used to stop event handling by calling '.unsubscribe()'. onSelectionModified(event: TreeSelectionModificationEvent): Subscription | undefined Parameter Type Description event TreeSelectionModificationEvent Returns - Subscription | undefined Defined in ui/components/src/ui-components/tree/controlled/TreeEvents.ts Line 39 Last Updated: 13 June, 2024