onLongTouch

fires on holding finger in some position for a certain period of time

void onLongTouch(object context);
contextobjectobject 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
If you have not checked yet, be sure to visit site of our main product Webix javascript website framework and page of javascript library list product.