JSGestureRecognizer: Mobile Safari’s version of UIGestureRecognizer
Friday, January 7th, 2011I just posted JSGestureRecognizer which is a bit like a JavaScript implementation of UIGestureRecognizer on iOS for Mobile Safari. If you’re familiar with UIGestureRecognizer, this should come in really handy.
I wrote this because:
- I got sick of writing touchstart/touchmove/touchend events to support Mobile Safari
- I didn’t see any implementation out there that I liked
- I like how UIGestureRecognizer works in iOS and wanted Mobile Safari to work similarly
- I wanted to be able to easily create my own gestures
Anyway, there’s documentation on the project page, and you can get a copy of it on github.
