Touch Events Test

This example is used for testing the touch events. The events are printed on the main page as soon as they are generated by the browser.

Here is the JS code for binding to the touch events:

$(document).bind('mousedown mouseup mousemove mouseover mouseout keydown keypress keyup touchstart touchmove touchend click', function(e) {
  $(".console").append(e.type + '<br>');