LottieFiles / lottie-interactivity

A small javascript library to enable interactivity with Lottie animations
https://lottiefiles.com/interactivity
MIT License
430 stars 55 forks source link

initial state of toggle action #106

Closed firibz closed 1 year ago

firibz commented 1 year ago

Overview

Hi there,

I have my Lottie interactivity set on toggle click. That works like a charm. I want to change the initial state of my animation from start to end.

for example, I'm toggling my theme on animation click in day/night example: https://codepen.io/mdavid1/pen/yLPNxJo

but I can not initialize the default state when the default theme is dark.

Type

Motivation

What inspired this feature request? What problems were you facing, or what else makes you think this should be included?

...

Labels

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs.