Skip to content

v0.6.1

Compare
Choose a tag to compare
@samuelOsborne samuelOsborne released this 20 Jun 16:00
· 9 commits to main since this release
65befc9

This release adds support for v0.1 of interactivity 🎉

If your .lottie contains a state machine configuration you can load it via its id using loadStateMachine

New functions available:

  • loadStateMachine(id: String) -> Bool
  • startStateMachine() -> Bool
  • stopStateMachine() -> Bool
  • postEvent(event: Event) -> Bool
  • stateMachineSubscribe(oberserver: StateMachineObserver) -> Bool
  • stateMachineUnSubscribe(oberserver: StateMachineObserver) -> Bool
  • stateMachineFrameworkSetup() -> [String]

Other:

This PR also fixes issue #16