rob-balfre / svelte-select

Svelte Select. A select component for Svelte
https://svelte-select-examples.vercel.app
Other
1.26k stars 175 forks source link

Callback to run loadoptions. #409

Closed WAKayser closed 2 years ago

WAKayser commented 2 years ago

First of all I would like to thank the maintainer for this package!

I was wondering if it was possible to expose a callback so that load options can be called from the outside of the component.

In my i use case I set filter options externally and then on those changes I also would like to receive a new set of items.

rob-balfre commented 2 years ago

Not sure what exactly you mean, can you provide a REPL please. Thanks