davetayls / jquery.kinetic

Add kinetic scrolling functionality to a container using mouse or touch devices
http://davetayls.me/jquery.kinetic
MIT License
420 stars 86 forks source link

Detect end of scrolling, cant scroll in both directions anymore. #65

Closed shobson closed 10 years ago

shobson commented 10 years ago

Was wondering if there was an event or listener that I am able to use to detect the end of the scrolling container once it cannot scroll anymore in both directions (in my case horizontally)?

I can assume I can write my own functionality in JavaScript to achieve this, but just wanted to know if there was something already in this current build of kinetic?

Thanks

davetayls commented 10 years ago

hey, there isn't anything in there at the moment. you would probably want to just check the wrapper scroll width against the actual width of the wrapper.