onTouchStart

fires when some webix view has been touched

void onTouchStart(object context);
contextobjectobject with event parameters

Example

webix.attachEvent("onTouchStart",function(context){
    //your code here
});

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
Back to top
If you have not checked yet, be sure to visit site of our main product Webix javascript component library and page of object list javascript product.