IMenuItemsOptions<T>
Defined in: src/widgets/types.ts:33
See Menu.items
Type Parameters
| Type Parameter | Default type |
|---|---|
T | any |
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
getTooltip? | (item) => string | Tooltip | src/widgets/types.ts:45 |
isChecked? | (item) => boolean | Whether a check box appears before the item | src/widgets/types.ts:36 |
isValid? | (item) => string | null | If result is not null, the item is grayed out and the result is shown in the tooltip | src/widgets/types.ts:39 |
onMouseEnter? | (item) => void | Gets invoked when the mouse enters the item | src/widgets/types.ts:48 |
radioGroup? | string | Identifies a group of items where only one can be checked at a time. | src/widgets/types.ts:51 |
toString? | (item) => string | Text to be shown on the menu item | src/widgets/types.ts:42 |