onLongTouch
fires on holding finger in some position for a certain period of time
function onLongTouch( // object with event parameters context: object): void
Example
Section titled “Example”grid.attachEvent("onLongTouch", e => console.log(e.target));
Details
Section titled “Details”Parameters of the context object are the following:
- x - {number} horizontal event position
- y - {number} vertical event postion
- target - {object} the html element where the event started
- time - {Date object} the time of event start