Skip to main content

unselect()

unselects a selected Ribbon item

unselect(id?: Id): void;

Parameters:

id: string | number - optional, the id of a Ribbon item

Example

// unselects all previously selected itemsribbon.unselect();
// unselects a specified selected itemribbon.unselect("print");

Related sample: Ribbon. Select/Unselect

Change log:

added in v7.0