Reputation: 1241
I know there is an MSGestureTap
event for a signle tap event, but is there anything similar for double-tap? (just like double-click).
Or should i measure the time gap between two tap events, and decide whether it was less than a given threshold?
Thanks!
Upvotes: 1
Views: 195
Reputation: 1241
Just found out that it is also possible to register for the double click event, and it will do the work.
Upvotes: 0
Reputation: 86
Using hammer.js library would probably save you a lot of hassle. Otherwise with MSPointerDown and MSPointerUp events may get you a more accurate results and timing.
Upvotes: 2