Skip to main content

IMenuItemsOptions<T>

Defined in: js-api/src/widgets/types.ts:57

See Menu.items

Type Parameters

Type ParameterDefault type
Tany

Properties

PropertyTypeDescriptionDefined in
getTooltip?(item) => stringTooltipjs-api/src/widgets/types.ts:69
isChecked?(item) => booleanWhether a check box appears before the itemjs-api/src/widgets/types.ts:60
isValid?(item) => string | nullIf result is not null, the item is grayed out and the result is shown in the tooltipjs-api/src/widgets/types.ts:63
onMouseEnter?(item) => voidGets invoked when the mouse enters the itemjs-api/src/widgets/types.ts:72
radioGroup?stringIdentifies a group of items where only one can be checked at a time.js-api/src/widgets/types.ts:75
toString?(item) => stringText to be shown on the menu itemjs-api/src/widgets/types.ts:66