unselect()
unselects a selected Toolbar item
unselect(id?: string | number): void;
Parameters:
id: string | number
- optional, the id of a Toolbar item
Example
// unselects all previously selected items
toolbar.unselect();
// unselects a specified selected item
toolbar.unselect("web");
Related sample: Toolbar. Select / unselect items
Change log:
added in v7.0