Skip to main content

isDisabled()

checks whether an item of Ribbon is disabled

isDisabled(id: Id): boolean;

Parameters:

id: string | number - the id of a Sidebar item

Returns:

true, if an item of Sidebar is disabled; otherwise, false.

Example

sidebar.isDisable("id"); // -> returns true/false

Related sample: Sidebar. Enable/Disable

Change log:

added in v6.4