VItemGroup API
组件页面
属性
| 名称 | 类型 | 默认值 |
|---|---|---|
| disabled | ||
| Puts all children components into a disabled state. | ||
| mandatory | ||
| Forces at least one item to always be selected (if available). | ||
| max | ||
| Sets a maximum number of selections that can be made. | ||
| model-value | ||
| The v-model value of the component. If component supports the multiple prop, this defaults to an empty array. | ||
| multiple | ||
| Allows one to select multiple items. | ||
| selected-class | ||
| Configure the selected CSS class. This class will be available in v-item default scoped slot. | ||
| tag | ||
| Specify a custom tag used on the root element. | ||
| theme | ||
| Specify a theme for this component and all of its children. | ||
事件
| 名称 | 类型 |
|---|---|
| update:modelValue | |
| Event that is emitted when the component’s model changes. | |
插槽
| default |
| The default Vue slot. |
SASS 变量
| 名称 | 默认值 |
|---|---|
| $item-group-transition | |