如題,學(xué)習(xí)jquery以及JQ mobile,最好可以不使用插件.
jquery mobile只有tap,taphold,swipe事件,都是達到條件后便立刻觸發(fā).那該如何實現(xiàn)如同控制手機屏幕分頁那樣的效果,觸摸時可拖動元素,松開時才根據(jù)條件觸發(fā)事件.
困擾了很久,請教大家,謝謝.
光陰似箭催人老,日月如移越少年。
Touch screen events use the three natively provided touchstart, touchmove, and touchend events. Theoretically, the cooperation of the three events can be achieved, but the compatibility needs to be adjusted.