@kvaser/canking-api
Version:
CanKing API to communicate with the CanKing service using Node.js.
44 lines (22 loc) • 734 B
Markdown
[**Kvaser CanKing GUI Extensions SDK v7.5.1**](../../README.md)
***
[Kvaser CanKing GUI Extensions SDK](../../modules.md) / [controls](../README.md) / 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.