Skip to main content

isDisabled()

checks whether an item of Ribbon is disabled

isDisabled(id: Id): 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

Change log:

added in v6.4