Skip to main content

unselect()

unselects a selected Sidebar item

unselect(id?: Id): void;

Parameters:

id: string | number - optional, the id of a Sidebar item

Example

// unselects all previously selected itemssidebar.unselect();
// unselects a specified selected itemsidebar.unselect("categoryPost");

Related sample: Sidebar. Select/Unselect

Change log:

added in v6.5