Hi,
I'm new to lottie/bodymovin and not very fluent in JS. So I would love to get a bit of help getting my animation to run twice (or loop once if you like) – or preferably a way to define a set amount of loops.
Javascript:
var animation = bodymovin.loadAnimation({
container: document.getElementById('animation-test'),
renderer: 'svg',
loop: false,
autoplay: true,
path: 'data.json'
})
This works as expected, and it runs once.
Is there a way to define a set amount of loops?
Thank you!
Hi,
I'm new to lottie/bodymovin and not very fluent in JS. So I would love to get a bit of help getting my animation to run twice (or loop once if you like) – or preferably a way to define a set amount of loops.
Javascript:
This works as expected, and it runs once.
Is there a way to define a set amount of loops?
Thank you!