Skip to main content

getSelected()

returns an array of IDs of selected items

getSelected(): Id[];

Returns:

An array of IDs of selected items

Example

sidebar.getSelected(); // -> ["selected_1", "selected_1.1"]

Related sample: Sidebar. Select/Unselect

Change log:

added in v6.5