You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actually, i added the animation to a variable but when the page is loading the animation is run but i just want to run the animation in future handler not when the page is loading. Is that possible ?
This is working but i do not want to the animation run immediately. componentDidMount(){ window.animCircleNext = this.addAnimation(createAnim2Test) }
Regards.
The text was updated successfully, but these errors were encountered:
You may want to put a .pause() in your createAnim2Test tween and then in componentDidMount do something like:
componentDidMount(){
var animCircleNext = this.addAnimation(createAnim2Test);
// Do whatever you need to before animation plays...
animCircleNext.play()
}
Hello,
Actually, i added the animation to a variable but when the page is loading the animation is run but i just want to run the animation in future handler not when the page is loading. Is that possible ?
This is working but i do not want to the animation run immediately.
componentDidMount(){ window.animCircleNext = this.addAnimation(createAnim2Test) }
Regards.
The text was updated successfully, but these errors were encountered: