onTouchStart
fires when the view has been touched
function onTouchStart( // object with event parameters context: object): void
Example
Section titled “Example”grid.attachEvent("onTouchStart",function(context){ //your code here});
Details
Section titled “Details”Parameters of the context object are the following:
- x - {number} horizontal event position
- y - {number} vertical event position
- target - {object} the HTML element where the event started
- time - {Date} the time of event start