Simulate swipe with mouse in javascript

后端 未结 5 1972
说谎
说谎 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条回答
  •  北海茫月
    2020-12-31 05:20

    I've looked into most of these... I'd recommend looking into

    Hammer.Js

    From what little I've seen, it has support for both desktop and mobile swiping and I was impressed with the demos.

提交回复
热议问题