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