Getting started
CanKing
Workspace Panes
CLI
GUI Extensions SDK
Service Extensions SDK
Appendix
Kvaser CanKing GUI Extensions SDK v7.4.0
Kvaser CanKing GUI Extensions SDK / controls / ContextMenuProps
Properties of the ContextMenu React component.
optional children: ReactNode
optional
ReactNode
Children nodes that will be using this context menu.
onSelect: (value) => void
value
void
A callback that will be called when the user selects one of the menu items in this context menu.
number
Value of the selected menu option.
options: ContextMenuOption[]
ContextMenuOption
The menu item options.