An Interest In:
Web News this Week
- April 18, 2024
- April 17, 2024
- April 16, 2024
- April 15, 2024
- April 14, 2024
- April 13, 2024
- April 12, 2024
June 25, 2021 03:29 pm GMT
Original Link: https://dev.to/loonywizard/jsconfetti-is-now-could-be-downloaded-from-cdn-3i10
JSConfetti is now could be downloaded from CDN
Hi everyone!
Wanted to share, that my open-source library JSConfetti is now could be downloaded from CDN:
<script src="https://cdn.jsdelivr.net/npm/js-confetti@latest/dist/js-confetti.browser.js"></script>
After that, JSConfetti
class could be accessed as global variable, and you can fire confetti by calling method addConfetti()
on JSConfetti class instance
const jsConfetti = new JSConfetti()jsConfetti.addConfetti()
JSConfetti works without any config, but could be configurable, check out documentation on GitHub
Links: GitHub | NPM | Library Website | CodeSandbox Playground
Original Link: https://dev.to/loonywizard/jsconfetti-is-now-could-be-downloaded-from-cdn-3i10
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To