ngryman / jquery.finger

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

Add event methods #28

Closed humancopy closed 9 years ago

humancopy commented 9 years ago

Add event methods so can do stuff like $(element).tap() instead of $(element).on('tap')

ngryman commented 9 years ago

Hey, good idea thanks!

humancopy commented 9 years ago

I just realised the trigger is not working... So doing this $(element).tap() will not trigger the tap on that element... Will try to resolve this. Let me know what you think :)

ngryman commented 9 years ago

It's working fine for me. Do you have an example?