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 / ToggleButtonGroupProps
Properties of a ToggleButtonGroup component displayed by the toolbar.
optional ariaLabel: string
optional
string
Aria label.
buttons: ToggleButtonProps[]
ToggleButtonProps
The buttons in this group.
optional exclusive: boolean
boolean
Set to true if only one of the buttons can be selected at the time.
onChange: (value) => void
value
void
Callback that will be called when any button in this group has been selected/deselected.
string[]
The new value.
optional orientation: "horizontal" | "vertical"
"horizontal"
"vertical"
Orientation of this group.
optional size: "small" | "medium" | "large"
"small"
"medium"
"large"
Size of the buttons in this group.
value: string[]
Value of the selected buttons in this group.