mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 03:49:34 +00:00
fix(multi-select): type dispatched select event
This commit is contained in:
parent
dc678e9904
commit
df63254c79
5 changed files with 24 additions and 10 deletions
|
@ -121,6 +121,7 @@
|
|||
* @typedef {string} MultiSelectItemId
|
||||
* @typedef {string} MultiSelectItemText
|
||||
* @typedef {{ id: MultiSelectItemId; text: MultiSelectItemText; }} MultiSelectItem
|
||||
* @event {{ selectedIds: string[]; selected: MultiSelectItem[]; unselected: MultiSelectItem[]; }} select
|
||||
*/
|
||||
|
||||
import { afterUpdate, createEventDispatcher, setContext } from "svelte";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue