isDisabled()
checks whether an item of Ribbon is disabled
isDisabled(id: string | number): boolean;
Parameters:
id: string | number
- an id of the Ribbon item
Returns:
true
, if an item of Ribbon is disabled; otherwise, false
.
Example
ribbon.isDisable("id"); // -> returns true/false
Related sample: Ribbon. Enable / disable Ribbon item
Change log:
added in v6.4