Re: Touch/Tap and Hold Event in GWT

294 views
Skip to first unread message

RyanZA

unread,
Dec 20, 2012, 8:33:08 AM12/20/12
to google-we...@googlegroups.com
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?
Reply all
Reply to author
Forward
0 new messages