Touch events in PC

I was able to do touch events from PC in dhtmxtouch, where as in webix I can’t. For example onLongTouch, onSwipeX, nothing happened in PC.

It is expected.

Touch events will fire on touch capable devices only. If you want to debug the behavior on desktop you can use

webix.env.touch = true;

http://webix.com/snippet/aaa800f2

It is not working for contextmenu
http://webix.com/snippet/17b73b07

Hi,

Please make sure that you have set webix.env.touch = true; before webix.ready:

webix.env.touch = true;
webix.ready(function(){
    /*views init*/
});

Our webix.com/snippet puts all js content into webix.ready automatically. So, there is not possibility to use it for demo in this case.

Thank you. Working good.