How can I handle firework sounds in vue?
Opened this issue · 2 comments
tiny-solver commented
I'm working with Vue 3, and I want to add firework sounds whenever a firework explodes. I'm curious about how to implement this.
I want to use a callback when the firework explodes, but I can't find a way to do this.
Here’s my code snippet and configuration.
<vue-particles v-if="showParticles" id="tsparticles" @particles-loaded="particlesLoaded" url="/particles.json" />
Ackermiam commented
Hey ! I can't make it works in my Vue 3.4 project, can you show me your package dependencies, and your main.ts ? And anything which is related to tsparticles library ? Thanks you :D
GNUXDAR commented
I'm trying to add custom confetti effects to my Vuejs 3 application. I've installed a tsparticles library, but I'm unable to find specific instructions in the documentation on how to customize the confetti display. Can you assist me with this?