select()
selects a specified item of Toolbar
select(id: string | number, unselect: boolean): void;
Parameters:
id: string | number
- the id of a Toolbar itemunselect: boolean
- optional, true to unselect previously selected items; otherwise, false; true by default
Example
toolbar.select("web");
Related sample: Toolbar. Select / unselect items
Change log:
added in v7.0