onLongTouch
fires on holding finger in some position for a certain period of time
void onLongTouch(object context);
| context | object | object with event parameters |
Example
webix.attachEvent("onLongTouch",function(context){
//your code here
});
Details
The time period is defined by the webix.Touch.longTouchDelay property.
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
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support,
connect with other developers, and share your feedback there.