Simple example:
$('foo').bind('doubletap swiperight', function() {});
So, I am trying to be really efficient. And maybe I am trying to be TOO efficient, but what I want to do is bind the events to the object ONCE, and then say “if swiperight do this. If doubletap do this.”
Is this possible??
Thanks for the help in advance!
Alex
You can determine the type of event from within the handler function using
event.type: