avinashajs / jquery-nicescroll

Automatically exported from code.google.com/p/jquery-nicescroll
0 stars 0 forks source link

Req: scrolling flag #20

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Is it possible to add a global flag to know when the scroller is scrolling? I 
need that to interrupt tap events in elements inside the scroll div. Otherwise 
I can not know if a tap is to stop the scrolling or for the item inside the div.

Thank you.

Original issue reported on code.google.com by arianout...@gmail.com on 24 Nov 2012 at 5:57

GoogleCodeExporter commented 8 years ago
For example, is there a way to check scrollrunning flag from my app?

Original comment by arianout...@gmail.com on 24 Nov 2012 at 6:13

GoogleCodeExporter commented 8 years ago
Or, even better, add a class like "scrolling" in the div apply your script and 
remove it after stop. So I can check if it's there and to know if a tap inside 
the div is not related to scroll action.

Original comment by kdoychin...@gmail.com on 24 Nov 2012 at 9:39

GoogleCodeExporter commented 8 years ago
On RC version has implemented onScrollStart/onScrollEnd events.

You have to set as jquery-style:
$("#your-div").getNiceScroll().scrollstart(fn)
$("#your-div").getNiceScroll().scrollend(fn)

Original comment by inuya...@gmail.com on 25 Nov 2012 at 10:31

GoogleCodeExporter commented 8 years ago

Original comment by inuya...@gmail.com on 25 Nov 2012 at 10:31

GoogleCodeExporter commented 8 years ago
Will test it. Thank you :)

Original comment by arianout...@gmail.com on 25 Nov 2012 at 10:34

GoogleCodeExporter commented 8 years ago
v3 released

Original comment by inuya...@gmail.com on 17 Dec 2012 at 8:40