Item Groups

The v-item-group provides the ability to create a group of selectable items out of any component. This is the baseline functionality for components such as v-tabs and v-carousel.

用例

The core usage of the v-item-group is to create groups of anything that should be controlled by a model.

API

v-item-group
名称
active-class
默认值
'v-item--active'
类型
string

Components.ItemGroups.

名称
dark
默认值
false
类型
boolean

应用暗黑主题变体

名称
light
默认值
false
类型
boolean

应用明亮主题变体

名称
mandatory
默认值
false
类型
boolean

Components.ItemGroups.

名称
max
默认值
undefined
类型
number | string

设置最大宽度

名称
multiple
默认值
false
类型
boolean

Components.ItemGroups.

名称
value
默认值
undefined
类型
any

控制可见性

示例

Chips

Easily hook up a custom chip group.

Edit this page | language on Github
Vuetify 3 is now available!The latest version of Vuetify is now available!
Learn about Vuetify 3's new features and functionality for modern Vue applications
Start exploringExplore