Calm motion: animations on this site only fade, with no movement
PickList
Two listboxes with transfer buttons
Choosing a subset from a long list where both sides matter: the columns to show, the members of a group. For picking several from a short list, a multiple Listbox or checkboxes are simpler. To reorder a single list, OrderList.
Basic
Cast · 5
加藤恵
英梨々
詩羽
美智留
出海
Main · 1
倫也
- Select in either list (Space, or click), then move with the buttons between them. Buttons are named after the list they move to. After a move, focus goes to that list and the move is announced.
v-model:sourceandv-model:targetboth update.labels.source/labels.targetname the lists.
Usage
ts
import { BlessPickList } from "blessing-ui";API
Props
| Name | Type | Default | Description |
|---|---|---|---|
rows | number | 6 | |
labels | Partial<{ source: string; target: string; moveSelected: (to: string) => string; moveAll: (to: string) => string; moved: (count: number, to: string) => string; }> | — | |
source | BlessOption<T>[] | [] | |
target | BlessOption<T>[] | [] |
Events
| Name | Payload | Description |
|---|---|---|
update:source | [value: BlessOption<T>[]] | |
update:target | [value: BlessOption<T>[]] |