Jump to content
Search Community

gsap draggable vue combination - this.x is undefined in updateProgress

Antdev test
Moderator Tag

Go to solution Solved by Cassie,

Recommended Posts

Hello

I am putting together an app using vue js 3 and gsap using the Draggable plugin. I am having an issue with the value of this.x within the updateProgress not being defined.

 

Please take a look at my codepen:

 

If anyone has some knowledge of using gsap with vue and can help me resolve this issue I would be very grateful.

 

I am creating a carousel and  had it all working outside of vue but bringing it into vue has caused me this issue. Hopefully just a scoping issue that there is a fix for.

 

Thanks

Ant

See the Pen abEKWpL by antdev (@antdev) on CodePen

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...