JS Confetti library with emojis ⚡️ ?

Hi everyone!

Happy to announce, that my library js-confetti now supports emojis!

Please look at README for instructions for Installation & Usage

All you need is to provide emojis array to addConfetti method:

import JSConfetti from ‘js-confett…


This content originally appeared on DEV Community and was authored by Vladimir Nikitin

Hi everyone!

Happy to announce, that my library js-confetti now supports emojis!

Please look at README for instructions for Installation & Usage

All you need is to provide emojis array to addConfetti method:

import JSConfetti from 'js-confetti'

const jsConfetti = new JSConfetti()

// different emojis
jsConfetti.addConfetti({
   emojis: ['?', '⚡️', '?', '', '?', '?'],
})

// confetti from only unicorn emojis
jsConfetti.addConfetti({
  emojis: ['?'],
})

// different arguments in .addConfetti
jsConfetti.addConfetti({
  emojis: ['', '?'],
  emojiSize: 100,
  confettiNumber: 30,
})

You can see demo here ?

I will be happy if this will be useful for anybody!

Feel free to add Issues for feature-requests / bugs


This content originally appeared on DEV Community and was authored by Vladimir Nikitin


Print Share Comment Cite Upload Translate Updates
APA

Vladimir Nikitin | Sciencx (2021-06-29T11:01:24+00:00) JS Confetti library with emojis ⚡️ ?. Retrieved from https://www.scien.cx/2021/06/29/js-confetti-library-with-emojis-%e2%9a%a1%ef%b8%8f-%f0%9f%8e%89/

MLA
" » JS Confetti library with emojis ⚡️ ?." Vladimir Nikitin | Sciencx - Tuesday June 29, 2021, https://www.scien.cx/2021/06/29/js-confetti-library-with-emojis-%e2%9a%a1%ef%b8%8f-%f0%9f%8e%89/
HARVARD
Vladimir Nikitin | Sciencx Tuesday June 29, 2021 » JS Confetti library with emojis ⚡️ ?., viewed ,<https://www.scien.cx/2021/06/29/js-confetti-library-with-emojis-%e2%9a%a1%ef%b8%8f-%f0%9f%8e%89/>
VANCOUVER
Vladimir Nikitin | Sciencx - » JS Confetti library with emojis ⚡️ ?. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/06/29/js-confetti-library-with-emojis-%e2%9a%a1%ef%b8%8f-%f0%9f%8e%89/
CHICAGO
" » JS Confetti library with emojis ⚡️ ?." Vladimir Nikitin | Sciencx - Accessed . https://www.scien.cx/2021/06/29/js-confetti-library-with-emojis-%e2%9a%a1%ef%b8%8f-%f0%9f%8e%89/
IEEE
" » JS Confetti library with emojis ⚡️ ?." Vladimir Nikitin | Sciencx [Online]. Available: https://www.scien.cx/2021/06/29/js-confetti-library-with-emojis-%e2%9a%a1%ef%b8%8f-%f0%9f%8e%89/. [Accessed: ]
rf:citation
» JS Confetti library with emojis ⚡️ ? | Vladimir Nikitin | Sciencx | https://www.scien.cx/2021/06/29/js-confetti-library-with-emojis-%e2%9a%a1%ef%b8%8f-%f0%9f%8e%89/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.