-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Description
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!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels