Tree.handleItemSelection method
Tree › handleItemSelection
Unofficial
Handle a click on a tree item, applying the Alt-click and Shift-click selection rules.Signature:
handleItemSelection(event: MouseEvent, node: T): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
| event | MouseEvent | The mouse event that triggered the selection. |
| node | T | The tree item clicked on. |
Returns: boolean — true when the click was handled as a selection change and the item must not be opened.