How to implement swipe gestures for mobile devices?

后端 未结 9 1117
野性不改
野性不改 2020-12-12 14:58

I have an application made in AngularJS which has arrow key navigation to switch views.

I want to implement this navigation using swipe for touch devices. I tried jG

9条回答
  •  庸人自扰
    2020-12-12 15:45

    Have you tried Hammerjs? It supports swipe gestures by using the velocity of the touch. http://eightmedia.github.com/hammer.js/

提交回复
热议问题