Skip to main content

IMenuItemsOptions<T>

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

See Menu.items

Type Parameters

Type ParameterDefault type
Tany

Properties

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