在事件绑定的参数上,遇到个问题:
<view bindtouchstart="touchStart" bindtouchmove="touchMove" bindtouchend="touchEnd">...</view>
进行事件绑定后,touchStart 能够正常获取到 touches 的值,touchMove 也可以,但是 touchEnd 事件获取到的 touches 数组为空,是什么问题?
在事件绑定的参数上,遇到个问题:
<view bindtouchstart="touchStart" bindtouchmove="touchMove" bindtouchend="touchEnd">...</view>
进行事件绑定后,touchStart 能够正常获取到 touches 的值,touchMove 也可以,但是 touchEnd 事件获取到的 touches 数组为空,是什么问题?
13 回答12.7k 阅读
7 回答1.8k 阅读
3 回答1k 阅读✓ 已解决
3 回答1.2k 阅读✓ 已解决
2 回答1.1k 阅读✓ 已解决
4 回答784 阅读✓ 已解决
2 回答1.8k 阅读
用changedTouches