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

emojiSize not working

Open dcts opened this issue 1 year ago β€’ 0 comments

I tried to adapt the size of the emojis, but with no success. Both codesnippets have the same result. Is that expected or a bug?

new JSConfetti().addConfetti({
    confettiNumber: 250,
    emojis: ['πŸ—ΊοΈ', '🐣', 'πŸ₯³', 'πŸ“', '✨'],
    emojiSize: 1,
});

// Same effect although size increased
new JSConfetti().addConfetti({
    confettiNumber: 250,
    emojis: ['πŸ—ΊοΈ', '🐣', 'πŸ₯³', 'πŸ“', '✨'],
    emojiSize: 100,
});

dcts avatar Jan 12 '24 15:01 dcts