supermedium / aframe-particleplayer-component

:sparkles: Play pre-simulated particle systems in A-Frame :boom:
https://supermedium.github.io/aframe-particleplayer-component
MIT License
68 stars 29 forks source link

Prefix event names and don't bubble. #4

Closed ngokevin closed 6 years ago

ngokevin commented 6 years ago

loop and finished event names are generic and can easily collide. Would do particleplayerloop and particleplayerfinished. And to also not bubble unless it makes sense .emit(eventName, null, false).