Web TouchEvent API | TouchEvent.changedTouches
The TouchEvent.changedTouches read-only property which is a TouchList. TouchList representing each touchpoint directly involved in this event:
touchstart: A list of touchpoints that become active in touchstart event.
touchmove: A list of touchpoints that have moved during touchmove event.
touchend: A list of touchpoints that become deactivate in touchend event.
touchenter: A list of touchpoints that have entered the touch surface during touchenter event.
touchleave: A list of touchpoints that have exited the touch surface during touchleave event.
var touches = touchEvent.targetTouches;
A TouchList listing is returned all the Touch objects for the touchpoints which are still in contact with the surface of the Touch and whose touchstart event occurred inside the same target element like the current target element.
Supported Browsers: The browsers supported by TouchEvent.changedTouches are listed below:
- Google Chrome
Attention reader! Don’t stop learning now. Get hold of all the important Comcompetitivepetitve Programming concepts with the Web Design for Beginners | HTML course.