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

void onLongTouch(object context);
contextobjectobject with event parameters


    //your code here


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 popular javascript framework and page of javascript tree product.