Getting started
CanKing
Workspace Panes
CLI
GUI Extensions SDK
Service Extensions SDK
Remote Access Setup
Appendix
Kvaser CanKing GUI Extensions SDK v7.6.1
Kvaser CanKing GUI Extensions SDK / controls / DropdownButtonTextItemsProps
Properties of the DropdownButtonTextItems React component.
DropdownButtonChildrenProps
items: object[]
object
The items that will be displayed in the drop down control. Each item has a unique key and a display text.
key: string
string
text: string
optional onClose?: () => void
optional
void
Callback that is called when the drop down menu is closed.
DropdownButtonChildrenProps.onClose
onClose
onSelect: (itemKey, itemText?) => void
itemKey
itemText?
Callback that is called when the user selects one of the drop down items.
The key of the selected item.