js-confetti icon indicating copy to clipboard operation
js-confetti copied to clipboard

Added new parameter, yPos, and updated dependencies

Open mgussekloo opened this issue 1 year ago • 0 comments

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!

mgussekloo avatar Sep 20 '22 08:09 mgussekloo