matyunya / smelte

UI framework with material components built with Svelte and Tailwind CSS
https://smeltejs.com/
MIT License
1.53k stars 114 forks source link

Add change event to select #257

Closed gtosh4 closed 3 years ago

gtosh4 commented 3 years ago

This is currently used in the guide as:

<Select {label} {items} on:change={v => (value1 = v.detail)} />

and dispatched in https://github.com/matyunya/smelte/blob/master/src/components/Select/Select.svelte#L161.

matyunya commented 3 years ago

Thank you!