BlogPlaygroundOne

VItem API


Props
name
type
default
boolean
false

Removes the ability to click or target the component.

string
undefined

Configure the active CSS class applied when an item is selected.

any
undefined

The value used when the component is selected in a group. If not provided, a unique ID will be used.

Events
name
type
[{ value: boolean }]

Event that is emitted when an item is selected within a group.

Slots
{ isSelected: boolean selectedClass: boolean | string[] select: (value: boolean) => void toggle: () => void value: unknown disabled: boolean }

The default Vue slot.