Particles.init not returning anything
jhonalino opened this issue · comments
I'm trying to pause animation with
var particles = Particles.init({
// options
});
particles.pauseAnimation();
however particles is undefined
the partcicles keep moving/animating
@jhonalino Are you initializing particles.js on window load? Check this fiddle if you need a working example: https://jsfiddle.net/b1b0q42x/