Skip to main content

select()

selects a specified item of Toolbar

select(id: Id, unselect: boolean): void;

Parameters:

  • id: string | number - the id of a Toolbar item
  • unselect: boolean - optional, true to unselect previously selected items; otherwise, false; true by default

Example

toolbar.select("web");

Related sample: Toolbar. Select/Unselect

Change log:

added in v7.0