unselect()
unselects a selected Sidebar item
unselect(id?: string | number): void;
Parameters:
id: string | number
- optional, the id of a Sidebar item
Example
// unselects all previously selected items
sidebar.unselect();
// unselects a specified selected item
sidebar.unselect("categoryPost");
Related sample: Sidebar. Select / unselect
Change log:
added in v6.5