Skip to content

VItem API

组件页面

属性

名称类型默认值
disabled
Removes the ability to click or target the component.
selected-class
Configure the active CSS class applied when an item is selected.
value
The value used when the component is selected in a group. If not provided, a unique ID will be used.

事件

名称类型
group:selected
Event that is emitted when an item is selected within a group.

插槽

default
The default Vue slot.