🎉 Announcing Interactivity in @lottiefiles/dotlottie-web v0.30.2 🎉 #313
samuelOsborne
announced in
Announcements
Replies: 1 comment
-
Heres some examples of it in use ✨ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We're excited to bring to you dotLottie Interactivity! With this release you can now include interactivity definition files inside your .lottie files and load them at runtime across our new Web, iOS and Android players. Powered by state machines, it's possible to create deeply interactive scenarios for your animations. To start creating, use our dotlottie-js library.
New Features
loadStateMachine
Method: Load a state machine directly from a .lottie file.startStateMachine
Method: Start the loaded state machine.stopStateMachine
. Method: Cleanly end the started state machine.postStateMachineEvent
Method: Send events to the state machine to drive animation behavior.Available Events
Beta Was this translation helpful? Give feedback.
All reactions