Open harryluo91 opened 5 years ago
dude, you are using react, change autoplay={true|false} whenever you need it
To be fair that's a pretty poorly named prop if the intended method to play an animation is through it.
Changing autoplay to true|false does not work as intended for me. Changing this, removes all children on the Anime component
Hi, I've been trying to find a way to trigger the animation manually based on some conditions, but it looks like the only way to get a reference to the animation instance is through one of the begin, update or complete callback functions, and they all require the autoplay prop to be true to trigger. Is there any way that we can get the animation instance when the component mount?