trigger 'tap' for non-touch-capable devices #1

Closed
wants to merge 2 commits into
from

Projects

None yet

2 participants

@zawaideh

Hi,

I aliased 'click' with 'tap' when using mouse pointer(for non-touch-capable devices). It involves 5 lines of code and only affects non-touch capable devices.

Thanks for this great lib!

@visiongeist
Owner

Hi,

thanks for your participation with toe.js :) However I avoided to involve pointer devices in this lib because.

  1. I used it with fingerpointer in order to switch between pointer and touch devices https://github.com/dantipa/jquery.fingerpointer
  2. This commit references a gesture (tap) in the general file. If you want to alias tap then you should do this in the gesture itself (tap.js) because toe.js is supposed to be independent of any gesture.

Thanks,
Damien

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment