How to find index to the last touched place in JavaScript?
touchstart, touchmove and touchend give these informations:
event.touches.length - number of touches event.touches[0] - first touch in
the list data
my question is: if there are more then one touch, how can I know which one
moved when touchmove was dispached? how can I know which one dissapeard
from the list when tochend was dispached?
touches contains item which have these data: view - WindowProxy target -
EventTarget identifier - long pageX -long pageY -long screenX - long
screenY - long
should I use this 'identifier' to distinguish correct touch?
No comments:
Post a Comment