Jump to content
Search Community

Frizzled

Members
  • Posts

    2
  • Joined

  • Last visited

Frizzled's Achievements

  1. Thanks @GreenSock I apologize for not including more code ... next time I'll work-up an example. You're correct, this is in React. I ended-up just reverting and re-running. If that hits issues I'll try a restart() on the timeline itself. Thank you for GSAP!
  2. I'm currently reseting a .context() then restarting it completely by re-running the function that creates the animation. Is there a cleaner way to do this directly from the context? Current solution: this.notificationContext && this.notificationContext.revert(); this.notificationAnimation(); // Create animation context and assign to notificationContext What I tried: this.notificationContext && this.notificationContext.revert() && this.notificationContext.data[0].restart(); // data[0] is a timeline What I'm hoping for: this.notificationContext && this.notificationContext.restart(); // not currently a context function but I can dream
×
×
  • Create New...