Jump to content
Search Community

Draggable Throwprops not functioning

stonestudioprod test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

This codepen works fine with the cdns, but when I host on my site and link to local versions of Draggable.min.js and ThrowPropsPlugin.min.js

The Throwprops does not work.

I tried locally too, linking to libraries like this just before the end <body> tag:
    <script src="js/drag.js"></script>
    <script src="js/greensock-js/src/minified/TweenMax.min.js"></script>
    <script src="js/greensock-js/src/minified/jquery.gsap.min.js"></script>
    <script src="js/greensock-js/src/minified/utils/Draggable.min.js"></script>
    <script src="js/greensock-js/src/minified/plugins/ThrowPropsPlugin.min.js"></script>

 

I have attached the files I have hosted on my site.
Sorry, I am sure it is something simple, but I cannot figure it out

spintest.html

drag.js

See the Pen LqogvZ by svenghoulieil (@svenghoulieil) 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...