触摸和目标触摸之间的区别
我正在尝试学习移动网络应用程序开发并经历; http://www.html5rocks.com/en/mobile/touch.html
我想了解 Touches 和 targetTouches 之间的区别...不是字面意义上的(就像我确实理解 targetTouches 特定于某个元素一样)
我想从语法角度了解更多...就像我们在任何内容中说 targetTouches 时一样函数,我们到底指的是什么...任何例子真的很棒..
I am trying to learn mobile web app development and going through ;
http://www.html5rocks.com/en/mobile/touch.html
I wanted to understand the difference between touches and targetTouches... Not in a literal sense (like I do understand targetTouches is specific to an element)
I wanted to understand more from a syntax perspective... like when we say targetTouches inside any function, what exactly are we referring to... Any example would be really great..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
触摸:当前触摸屏幕的每个手指的信息列表。
targetTouches:与触摸类似,但仅过滤在同一节点内开始的手指触摸的信息。
更多信息
touches: A list of information for every finger currently touching the screen.
targetTouches: Like touches, but is filtered to only the information for finger touches that started out within the same node.
More info here