Skip to main content

IMenuItemsOptions<T>

Defined in: src/widgets/types.ts:43

See Menu.items

Type Parameters

Type ParameterDefault type
Tany

Properties

PropertyTypeDescriptionDefined in
getTooltip?(item) => stringTooltipsrc/widgets/types.ts:55
isChecked?(item) => booleanWhether a check box appears before the itemsrc/widgets/types.ts:46
isValid?(item) => string | nullIf result is not null, the item is grayed out and the result is shown in the tooltipsrc/widgets/types.ts:49
onMouseEnter?(item) => voidGets invoked when the mouse enters the itemsrc/widgets/types.ts:58
radioGroup?stringIdentifies a group of items where only one can be checked at a time.src/widgets/types.ts:61
toString?(item) => stringText to be shown on the menu itemsrc/widgets/types.ts:52