ngryman / jquery.finger

:v: jQuery touch & gestures, fingers in the nose.
https://ngryman.sh/jquery.finger/
MIT License
423 stars 66 forks source link

Calling a function once drag event over? #33

Closed majimekun closed 9 years ago

majimekun commented 9 years ago

Hi Nicolas, I would like to know if there is a way to call a function when the drag/flick event is over. Since I couldn't find it in the documentation I guess it's not possible yet ... but could you confirm? I've also tried with touchend but with no success. Cheers

ngryman commented 9 years ago

Hey,

Yes you can do it by checking the end property of the event. I think I forgot to mention this in the docs. I will add it :)