Jump to content
GreenSock

h0u5t0n

Edge Animate + ThrowProps Inertia scroll (ShockinglyGreen)

Moderator Tag
Go to solution Solved by Diaco,

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

Any clue on how to enable the throwProps plugin found in the Shockingly Green library set of Greensock.


The momentum scrolling in the feature found on this site works exactly the way it should on iOS


http://greensock.com/draggable


 


The scrolling example I've attached has no momentum or inertia when viewing on an iOS device.


 


 


Ive easily been able to get other libraries to work with no hick-ups but this scroller feature has been bugging me.


I'm sure it's something super simple and I'm just overlooking.


 


The current libraries i'm calling are Draggable, Throwprops, TweenMax.


Using Edge Animate 2014.1.1


 


Any thoughts?


 


 


 


[edit: files removed that included bonus plugins]


Link to comment
Share on other sites

Hi h0u5t0n :)

 

pls try this :

Draggable.create("#Stage", {
   type:"scrollTop",
   throwProps:true,
});
  • Like 2
Link to comment
Share on other sites

@Diaco.AW thx. yes finally seeing the inertia on the stage but

how is this assigned to only have an object scroll with the inertia?

Link to comment
Share on other sites

This is working great for scroll can this method be applied to an object using draggable ad throwProps?

That is really what i was attempting to acheive with the example i submitted.

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