Kvaser CanKing GUI Extensions SDK v7.4.0


Kvaser CanKing GUI Extensions SDK / controls / DropdownButtonTextItemsProps

Interface: DropdownButtonTextItemsProps

Properties of the DropdownButtonTextItems React component.

Extends

Properties

items

items: object[]

The items that will be displayed in the drop down control. Each item has a unique key and a display text.

key

key: string

text

text: string


onClose()?

optional onClose: () => void

Callback that is called when the drop down menu is closed.

Returns

void

Inherited from

DropdownButtonChildrenProps.onClose


onSelect()

onSelect: (itemKey, itemText?) => void

Callback that is called when the user selects one of the drop down items.

Parameters

itemKey

string

The key of the selected item.

itemText?

string

Returns

void