unselect

unselects a selected Sidebar item

void unselect(string id);

Parameters

idstringoptional, the id of a Sidebar item

Example

// unselects all previously selected items
sidebar.unselect();
 
// unselects a specified selected item
sidebar.unselect("categoryPost");

Related samples

See also
Change log

added in v6.5

Back to top