ButtonGroup API
API reference docs for the Stash ButtonGroup
component. Learn about the props, CSS, and other APIs of this exported module.
Import
ts
import ButtonGroup from '@leaflink/stash/ButtonGroup.vue';
Props
Name | Type | Default | Description |
---|---|---|---|
options | Array | - | The list of buttons to render |
allowDeactivate | boolean | false | Whether the active button can be deactivated |
disabled | boolean | false | Whether the entire group should be disabled |
fullWidth | boolean | false | Whether the group should expand to the parent's width |
groupName | string | 'uniqueId()' | A name for the group, useful when multiple ButtonGroups exist on the page |
Slots
None
Events
Name | Description |
---|---|
input |