Cancels the current touch event sequence. Calling cancel in a touchstart or dragmove will disable subsequent move or tap/end/hold event handlers from being called.


<div id="touch">Touch here</div>

        touchstart: function(e) {
            e.sender.cancel(); // e.sender is a reference to the touch widget.
        hold: function(e) {
            // this event handler will not be executed
/* The result can be observed in the DevTools(F12) console of the browser. */
In this article