0

How to auto play when visible?

How tomake my animation javascript play automatically when visible, looks like "wow.js"? Here my code var params = {     container: document.getElementById('lottie'),     renderer: 'svg',     loop: false,     autoplay: true,     path: '/asset/js/data.json' }; var anim; anim = lottie.loadAnimation(params);

19th Mar 2019, 8:24 AM
ardy salinggih
ardy salinggih - avatar
1 Odpowiedź
+ 5
://Hey ardy salinggih this is not a full code, please attach whole source code
19th Mar 2019, 9:33 AM
Sudarshan Rai
Sudarshan Rai - avatar