3 ms·
Another feature lacking in the mobile web are touch gestures. I'm facing this problem right now and the best option for recognizing gestures seems to be Hammer
by pier25 7y ago
Another feature lacking in the mobile web are touch gestures.
I'm facing this problem right now and the best option for recognizing gestures seems to be HammerJS which adds 7.5kB gzipped to your app.
After that your app still needs to react kinetically (eg: the image moves while dragging it to the left and then the view transitions to the next image). It's a lot of code that needs to be shipped in the JS bundle.
BTW if you have a better solution than HammerJS please comment here:
https://news.ycombinator.com/item?id=22184079 https://news.ycombinator.com/item?id=22184079