Tuesday, 20 August 2013

Javascript event fired on long press/tap on tablets

Javascript event fired on long press/tap on tablets

I am developing a website using RWD priciples and it is supposed to self
adjust and work in both desktop and in tablets, and eventually in Mobiles
as well.

I know in android development we can catch a long tap event and do some
actions.

But my question is that, is it possible to do it in HTML/HTML5 and
javascript?

Basically looking for a predefined event which gets fired on long press on
html elements.

I have gone through This and understood all the alternatives suggested.
Looking if anything new has been introduced in HTML5.
Thanks

No comments:

Post a Comment