Detecting swipe gesture iOS - Cordova/Phonegap Javascript -


i having trouble detecting swipe event on non-native ios app i'm making.

<div id="video" data-ng-click="adminselectvideo(video)" ng-repeat="video in videos"> 

could me javascript implementation of detecting left swipe gesture on following div element 'video'?

thanks in advance

i use hammerjs javascript multitouch gestures. swipe gesture 1 of them

var element = document.getelementbyid('video'); hammer(element).on("swipeleft", function() {     console.log('you swiped left me!'); }); 

Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -