isSelected

checks whether a specified Ribbon item is selected

boolean isSelected(string id);

Parameters

idstringthe id of a Ribbon item

Returns

booleantrue, if an item of Ribbon is selected, otherwise false

Example

ribbon.isSelected("print"); // -> returns true/false

Related samples

See also
Change log

added in v7.0

Back to top