Kvaser CanKing GUI Extensions SDK v7.6.1


Kvaser CanKing GUI Extensions SDK / controls / ContextMenuOption

Type Alias: ContextMenuOption

ContextMenuOption = object

Menu option that describes one menu item.

Properties

displayText

displayText: string

The text to be displayed in the context menu.


icon?

optional icon?: React.ReactNode

An optional icon to be displayed together with the displayText.


shortcut?

optional shortcut?: string

An optional shortcut string to be displayed together with the displayText.


value

value: number

A unique value that identifies this menu item.