Skip to main content

isDisabled()

checks whether an item of Toolbar is disabled

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

Change log:

added in v6.4