【发布时间】:2016-09-09 11:24:09
【问题描述】:
jQuery Mobile Tap 是否对应于向这样的元素添加事件侦听器:
myElement.addEventListener("touchstart", touchStartHandler, false);
如果是,那么剩下的touchmove、touchend等正常事件呢?我的意思是它们在 jQuery Mobile 中的等价物是什么?
谢谢你指导我。
【问题讨论】:
-
除非我弄错了,我想这些事件是由
touchstart、touchmove和touchend的组合组成的,已经为你预先设计好了,所以你只需要担心about 是tap、swipe等。 -
真的吗?我希望是这样。我相信点击也可以重现点击事件,但我没有工具来测试它是否还结合了 touchstart、touchend ...谢谢您的反馈@NiettheDarkAbsol
标签: javascript jquery jquery-mobile touch