3 ms·
What do you mean with 'native touch events'? The touchmove events should give you all touches etc. also on iOS. FYI: This app comes with a gesture detector (so
by janjongboom 13y ago
What do you mean with 'native touch events'? The touchmove events should give you all touches etc. also on iOS.
FYI: This app comes with a gesture detector (source: https://github.com/mozilla-b2g/gaia/blob/master/shared/js/gesture_detector.js https://github.com/mozilla-b2g/gaia/blob/master/shared/js/ge...) as well that can handle swipes, pans, multi-finger transforms.
- sbirchall 13y agoSorry, to clarify I want a solution so that we do not have to bake our own - Sencha abstracts it all away and handles everything the same across all devices (so I'm led to believe by the dev that chose and implemented it - I have very little experience with it). By 'native touch events' I mean very much like the link you've provided (which is a very promising resource, so thankyou for that), in that it offers a 'doubletap', 'swipe', and 'pinch' event for instance. (So more precisely _emulating_ native touch events?). I've found a good list of libraries in my research [1] but I was wondering if anyone had specific experience that could tip the balance in favour of one lib above Sencha (which to my eyes seems bloated and awkwardly constructed). [1: https://github.com/bebraw/jswiki/wiki/Touch https://github.com/bebraw/jswiki/wiki/Touch]