Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 2 commits into from

Conversation

zawaideh
Copy link

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
Copy link
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants