Appearance
DisplayList
A list of items that can be chosen, one or several.
ts
import { DisplayList } from '@zairakai/vue-components/Display'Usage
vue
<DisplayList />Props
| Name | Type | Default | Description |
|---|---|---|---|
id | string | ||
class | string | ||
selectable | string | 'none' | "none", "single" or "multiple": whether the items can be chosen. |
modelValue | string|array | undefined | The chosen values: one in single mode, an array in multiple mode. |
label | string |
Events
| Name | Description |
|---|---|
update:modelValue |
Slots
| Name | Description |
|---|---|
default |
See Theming for the class hooks and the data-* state of the components.