isDisabled()
checks whether an item of Ribbon is disabled
isDisabled(id: string | number): 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