Jump to content
GreenSock

Rhaffaele

Draggable

Recommended Posts

what are the files to load on my head to use the draggable plugin?

Link to comment
Share on other sites

Hey Rhaffaele,

 

Sorry, I accidentally deleted my last post. Here are the correct links to TweenMax and Draggable which is the easiest way to load Draggable.

<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/latest/TweenMax.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/latest/utils/Draggable.min.js"></script>

In CodePen it's generally best to put them in the JavaScript resources though. Click the cog on the JS panel to get there.

See the Pen OJJZqYv by GreenSock (@GreenSock) 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.
×