Documentation

onTouchStart

when some webix view has been touched

void onTouchStart(object context ){ ... };

Parameters

context objectobject 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 object} the time of event start
Back to top