Skip to main content

isDisabled()

checks whether an item of Menu is disabled

isDisabled(id: Id): boolean;

Parameters:

id: string | number - an id of the Menu item

Returns:

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

Example

menu.isDisabled("id"); // -> returns true/false

Change log:

added in v6.4