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