More-Ember-Confetti Addon
This addon provides you with an Ember helper that implements the canvas-confetti package. So you can call the confetti-helper in your template and pass along any attributes specified in the API.
Installing the addon
You install this addon like any other.
ember install more-ember-confetti
Custom API options
intervalNumber (default: 2000): The time (in ms) it will take for the confetti to fire againcontinuousBoolean (default: true): The confetti will continue to pop when this is true.originXNumber (default:0.5): The x position on the page, with 0 being the left edge and 1 being the right edge. This is used to construct theoriginobject needed by thecanvas-confettiAPI.originYNumber (default:0.5): The y position on the page, with 0 being the top edge and 1 being the bottom edge. This is used to construct theoriginobject needed by thecanvas-confettiAPI.
Contributing to the addon
If you want to contribute to this project or run into a bug, please reach out on GitHub or find me on the EmberJS discord.