mattjennings / svelte-modals

A simple, flexible, zero-dependency modal stack manager for Svelte.
https://svelte-modals.mattjennings.io
154 stars 8 forks source link

Asych comp? #10

Closed bitdom8 closed 2 years ago

bitdom8 commented 2 years ago

Can we open and close like async comp here:

https://svelte.dev/repl/4517b2961a7e466d99d994f043448a82?version=3.18.1

Thanks for great lib

mattjennings commented 2 years ago

Good idea, I've added an implementation of this and it's available under svelte-modals@next. Here's an example:

https://svelte.dev/repl/6c777499c64d412d82a86bd5351a5ca6?version=3.46.2

I'll plan to release it for v1.1.0, but I'd appreciate any feedback you might have.

mattjennings commented 2 years ago

Released in 1.1.0

bitdom8 commented 2 years ago

Thanks @mattjennings