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

Touchevents are not emulated properly #13

Open
d4rky-pl opened this issue Jan 28, 2012 · 3 comments
Open

Touchevents are not emulated properly #13

d4rky-pl opened this issue Jan 28, 2012 · 3 comments

Comments

@d4rky-pl
Copy link

To make it work, you'd have to implement:

  • touches
  • targetTouches
  • changedTouches

See: http://www.html5rocks.com/en/mobile/touch.html#toc-events

Otherwise it's pretty much useless with everything slightly more complex than simple tapping.

@mwbrooks
Copy link
Owner

Hi Michał,

When thumbs.js first came about, there was no standard for touch events. Webkit on Android, BlackBerry, and iOS all implemented the touch details differently. Since I only needed the simple events, I decided to avoid the hard stuff.

Recently, W3C has got around to the TouchEvent Specification. Both @ryanbetts and myself would really like to see thumbs.js polyfill this spec. However, my current project does not need anything beyond the basic touch events.

I wonder if Cordova-WP7 could benefit from thumbs.js implementing the entire W3C TouchEvent spec? What are your thoughts @purplecabbage?

@d4rky-pl, if you have a need for the full TouchEvent spec, it would be great to see a patch!

@ghost
Copy link

ghost commented Apr 7, 2015

You created a framework yet no working example? I understand that's not your interest....but still :(

@mwbrooks
Copy link
Owner

mwbrooks commented Apr 7, 2015

Hi @iconicsammy,

Does this example help you:

https://github.com/mwbrooks/thumbs.js/blob/master/example/index.html

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

No branches or pull requests

2 participants