touch

indicates whether the current browser supports touch-actions

object touch;

Example

if (webix.env.touch)
    do_something();

Details

Set of touch-specific properties:

  • down - "touchstart";
  • up - "touchend";
  • move - "touchmove";
  • context - touch event context that contains:
    • target - target HTML element;
    • x - x coordinate value;
    • y - y coordinate value;
    • time - time of the event.
Back to top