开发者

Difference between touches and targetTouches

I am trying to learn mobile web app developm开发者_JS百科ent 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..


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜