Skip to content

Selection

Basic usage

Slots

Selection Props

NameTypeDefaultDescription
model-valueanyundefinedBound value
active-eventActiveEventclickEvent that triggers selection
item-classClassType""Class for items
active-classClassType""Class for selected item
unactive-classClassType""Class for unselected item
disabled-classClassType""Class for disabled item
multiplebooleanfalseWhether multiple selection is allowed
clearablebooleanfalseWhether selection can be cleared

Selection Events

NameDescription
update:model-valueEmitted when bound value changes
changeEmitted when selection changes

Item Props

NameTypeDefaultDescription
valueanyundefinedValue for this item
active-eventActiveEventclickEvent that triggers selection
disabledbooleanfalseWhether disabled