Button Group
<gstock-button-group>
|
GstockButtonGroup
API
Propiedades
| Nombre | Descripción | Reflects | Tipo | Por defecto |
|---|---|---|---|---|
disabled
|
Disables the buttons. |
|
boolean
|
false
|
label
|
A label to use for the button group. This won’t be displayed on the screen, but it will be announced by assistive devices when interacting with the control and is strongly recommended. |
string
|
''
|
|
size
|
The size of the buttons in the group. |
|
'small' | 'medium' | 'large'
|
'medium'
|
vertical
|
Manages if the group should be display vertical or not. |
boolean
|
false
|
|
color
|
The color of the buttons in the group. |
|
'brand' | 'neutral' | 'information' | 'success' | 'warning' | 'danger'
|
'brand'
|
variant
|
The variant of the button in the group. |
|
'outlined' | 'plain' | 'solid'
|
'solid'
|
updateComplete
|
A read-only promise that resolves when the component has finished updating. |
Aprende más sobre atributos y propiedades .
Slots
| Nombre | Descripción |
|---|---|
default
|
Displays the button components. |
Aprende más sobre slots .