Skip to content

Tree.getSelectedItems method

Tree › getSelectedItems

Unofficial

Get the items the selection commands act on.

Signature:

getSelectedItems(): T[]

Returns: T[] — The selected items, else the focused item alone, else an empty array.