UNPKG

@kvaser/canking-api

Version:

CanKing API to communicate with the CanKing service using Node.js.

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