loonywizard / js-confetti

JS Confetti library that supports emojis 🦄 🎉 ⚡️
https://loonywizard.github.io/js-confetti/
MIT License
1.08k stars 45 forks source link

Added new parameter, yPos, and updated dependencies #51

Open mgussekloo opened 1 year ago

mgussekloo commented 1 year ago

Hi! For what it's worth, I thought an additional config parameter "yPos" would be useful. You can use it to configure the starting y-position for the confetti.

In order to build correctly on my system, I had to update the dependencies. Linting and building works fine, and the new parameter works as expected. I'm new to typescript, so there are probably further improvements to be made. I hope you can have a look and maybe find this useful!