onTouchEnd
occurs when the touch event is ended
function onTouchEnd( // object with parameters of touch event start start_context: object, // object with parameters of touch event end current_context: object): void
Example
Section titled “Example”grid.attachEvent("onTouchEnd",function(start_context,current_context){ //your code here});
Details
Section titled “Details”Parameters of the start_context and current_context objects are given below:
- x - {number} horizontal event position
- y - {number} vertical event position
- target - {object} the html element where the event started/ended
- time - {Date object} the time of event start/end