Tree.setFocusedItem method
Tree › setFocusedItem
Unofficial
Set the focused item in the tree view.Signature:
setFocusedItem(node: T, scrollIntoView?: boolean | undefined): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| node | T | The tree item to focus. |
| scrollIntoView? | boolean | undefined | Whether to scroll the item into view. |
Returns: void