Thursday, December 20, 2012

Re: Touch/Tap and Hold Event in GWT

You will want to listen for touch start events - and when one fires, you need to start a timer with a 1-3 second timeout. If the timeout fires, then it is a long touch.
You need to also listen to touch end and touch cancelled events - if one of these fires, you must cancel your timer.

On Wednesday, December 19, 2012 7:09:04 PM UTC+2, Shishir Singhai wrote:
Hi,

We have an application written in GWT and want to make it compatible on tablets/phones. We want to replace the "Right Click" event to "Press and Hold" or "Tap and Hold" event (Similar to Gmail for Android). I do not see any events like that in GWT. 

My question is, Is there anything else available in your knowledge to handle this Event?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/T0CFayB9GgYJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment