gesturestart
Fires when the user presses the element with two fingers (or presses with a second finger while a first finger is still touching the element).
Example
<div id="touch">
Touch me with two fingers
</div>
<script>
$("#touch").kendoTouch({
multiTouch: true,
gesturestart: function (e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log("User touched the element with two fingers");
}
});
</script>
Event Data
e.touches Array
An array containing the active touches.
e.event jQueryEvent
The jQuery event which triggered the touch event.
e.distance Number
The distance (in pixels) between the two touches.
e.center Point
The center point between the two touches. The point has two properties, x
and y
, which contain the x and the y coordinate, respectively.