Simulate swipe with mouse in javascript

后端 未结 5 1983
说谎
说谎 2020-12-31 05:05

I\'m trying to make an image rotator that works on mobile devices using swipe for navigation. I\'m also trying to make the same rotator to work on PC browsers but to be able

5条回答
  •  猫巷女王i
    2020-12-31 05:23

    When you use Hammer.js, you also have support for touch/mouse and pointer events. This for touch screen laptops like the chromebook pixel and windows8. Most of the libraries out there dont support those yet.

提交回复
热议问题