We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to stop animation after one loop and display the last frame here is a StackBlitz example
when I use the lottie-web it does work as should example
I was open this issue first to lottie-web airbnb/lottie-web#1479
it seems that need to update the package lottie-web to 5.4.3
The text was updated successfully, but these errors were encountered:
https://github.com/fivethree-team/lottie give this a try. It uses lottie-web in version 5.4.3.
Sorry, something went wrong.
@marcjulian it's possible to stop/resume at any point?
@Snowbases you need a reference to the LottieAnimation
LottieAnimation
<fiv-lottie [params]="lottieParams" [width]="250" [height]="250" (animationCreated)="onAnimationCreated($event)" ></fiv-lottie>
You can keep an instance of the animation in your component and play and pause at any point.
play
pause
onAnimationCreated(animation: LottieAnimation) { animation.play(); animation.setSpeed(0.8); }
No branches or pull requests
I want to stop animation after one loop and display the last frame
here is a StackBlitz example
when I use the lottie-web it does work as should example
I was open this issue first to lottie-web
airbnb/lottie-web#1479
it seems that need to update the package lottie-web to 5.4.3
The text was updated successfully, but these errors were encountered: