getSelected()
returns an array of IDs of selected items
getSelected(): (string | number)[];
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