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