@kvaser/canking-api
Version:
CanKing API to communicate with the CanKing service using Node.js.
78 lines (39 loc) • 1.14 kB
Markdown
[**Kvaser CanKing GUI Extensions SDK v7.5.1**](../../README.md)
***
[](../../modules.md) / [controls](../README.md) / ToggleButtonGroupProps
Properties of a ToggleButtonGroup component displayed by the toolbar.
> `optional` **ariaLabel**: `string`
Aria label.
***
> **buttons**: [`ToggleButtonProps`](ToggleButtonProps.md)[]
The buttons in this group.
***
> `optional` **exclusive**: `boolean`
Set to true if only one of the buttons can be selected at the time.
***
> **onChange**: (`value`) => `void`
Callback that will be called when any button in this group has been selected/deselected.
`string`[]
The new value.
`void`
***
> `optional` **orientation**: `"horizontal"` \| `"vertical"`
Orientation of this group.
***
> `optional` **size**: `"small"` \| `"medium"` \| `"large"`
Size of the buttons in this group.
***
> **value**: `string`[]
Value of the selected buttons in this group.