Props
| Prop | Type | Default | Description |
|---|---|---|---|
count | number | required | How many things are selected |
items | IActionGroupItem[] | [] | The actions. Folded into a menu on a phone |
variant | 'overlay' | 'floating' | 'overlay' | Over a toolbar strip, or a floating pill |
size | 'sm' | 'md' | 'lg' | 'xl' | lg overlay, sm floating | The bar's buttons' size |
cancelLabel | string | 'Cancel' | The cancel button's text |
label | string | 'Batch actions' | The region's accessible name |
cancelLabel and label default to the catalogue's batchActionsCancel and batchActionsLabel.
Slots
| Slot | Props | Description |
|---|---|---|
default | { phone: boolean } | Actions of your own, after items |
Events
| Event | Payload | Fired when |
|---|---|---|
cancel | none | Cancel was pressed |
select | id: string | An item from items was chosen |