Mitcheljager / svelte-confetti

Confetti in Svelte! Celebrate things with some extra flair. Animates using just HTML and CSS meaning it can work with SSR in SvelteKit!
https://mitcheljager.github.io/svelte-confetti/
259 stars 9 forks source link

Please include a usage documentation #12

Closed waelmansourx closed 1 month ago

waelmansourx commented 1 month ago

Thanks for the awesome library! Although, I have no idea on how to fire the confetti, and the usage example in the REPL is broken and somehow unclear.

Thanks again Mitchel.

Mitcheljager commented 1 month ago

Hey! There is extensive documentation over at https://mitcheljager.github.io/svelte-confetti/. Confetti fires as soon as the component renders, so it's up to you to determine when this is.

The REPL seems to have broken with the Svelte 5 upgrade, I will look into that.