This example uses the addEventListener() method to attach a "touchmove" and "touchend" event to a DIV element.
Move you finger in the rectangle above, and get the coordinates of your finger.
When the finger is moved across the div, the p element below will display the horizontal and vertical coordinates of your finger, whose values are returned from the clientX and clientY properties on the TouchEvent object.