VBtnToggle API
name | type | default |
|---|---|---|
string
| undefined | |
Sets the color of component when not focused. | ||
string | number | boolean | false | |
Applies utility border classes to the component. To use it, you need to omit the | ||
string
| undefined | |
Applies specified color to the control - supports utility colors with or without | ||
'default' | 'comfortable' | 'compact' | 'default' | |
Adjusts the vertical height used by the component. | ||
'vertical' | 'horizontal' | 'horizontal' | |
Control how children components are arranged - in a row or column. | ||
boolean
| false | |
Puts all children components into a disabled state. | ||
boolean
| false | |
Add dividers between children v-btn components. | ||
string | number | undefined | |
Designates an elevation applied to the component between 0 and 5. You can find more information on the elevation page. | ||
boolean | 'force' | false | |
Forces at least one item to always be selected (if available). | ||
number
| undefined | |
Sets a maximum number of selections that can be made. | ||
unknown
| undefined | |
The v-model value of the component. If component supports the multiple prop, this defaults to an empty array. | ||
boolean
| false | |
Allows one to select multiple items. | ||
string | number | boolean | undefined | |
Round edge buttons. | ||
string
| undefined | |
Configure the active CSS class applied when an item is selected. | ||
string | (new () => any) | FunctionalComponent | 'div' | |
Specify a custom tag used on the root element. | ||
string
| undefined | |
Specify a theme for this component and all of its children. | ||
boolean
| false | |
Removes the component’s border-radius. | ||
'text' | 'flat' | 'elevated' | 'tonal' | 'outlined' | 'plain' | 'elevated' | |
Applies a distinct style to the component. | ||
name | type | |
|---|---|---|
[unknown] | ||
Event that is emitted when the component’s model changes. | ||
The default Vue slot. | ||
name | default |
|---|---|
map.get(settings.$states, 'activated') |