Jump to content
Search Community

Box reverse Vue 3

Will84 test
Moderator Tag

Go to solution Solved by Will84,

Recommended Posts

Hi there! You've got an vue click handler here on your element, which is calling a function with an event listener inside it, so every time you click on that component you're creating a new timeline and a new event listener.

Here's your demo in vanilla JS - working a ok.

See the Pen xxWvBWr?editors=1010 by GreenSock (@GreenSock) on CodePen



This thread should help you with vue 3 and storing a reference to a timeline to control on events

 

Good luck, pop back if you need more help.

  • Like 3
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...