Hi guys,
Is there a way to detect touch events in a regular Vaadin 7 app?
I’d like to simulate a right-click based on specific touch gestures, or a double-click.
Kind regards,
Markus
Hi guys,
Is there a way to detect touch events in a regular Vaadin 7 app?
I’d like to simulate a right-click based on specific touch gestures, or a double-click.
Kind regards,
Markus
Hi,
I´ve done such a thing with Table (VScrollTable).
But to customize the touch behaviour of e.g. Table you have to make a fork because the methods which handle the touch are mostly private and cannot be overridden. It depends on the component and how touch is already implemented.
In VScrollTable there´s the method VScrollTableRow#handleTouchEvent where you can implement your behaviour.