onTouchMove

occurs during touch movement

void onTouchMove(object start_context,object current_context){ ... };

Parameters

start_contextobjectobject with parameteres of touch movement start
current_contextobjectobject with parameteres of touch movement end

Example

webix.attachEvent("onTouchMove",function(start_context,current_context){
    //your code here
});

Details

Parameters of the start_context and current_context objects are given below:

  • x - {number} horizontal event position
  • y - {number} vertical event position
  • target - {object} the html element where the event started/ended
  • time - {Date object} the time of event start/end
Back to top
If you have not checked yet, be sure to visit site of our main product Webix html5 framework and page of carousel script product.