Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I use the touch/gesture event (e.g. slide)?

  • 1 பதிலளி
  • 1 இந்த பிரச்சனை உள்ளது
  • 2 views
  • Last reply by Matt Brubeck

I have the javascript function that use onmousemove to capture drag event. How can I do this in Firefox for Mobile (Android)? It would be like the slide event for the iphone or tablet. What types of events should I use to? Thank you!

I have the javascript function that use onmousemove to capture drag event. How can I do this in Firefox for Mobile (Android)? It would be like the slide event for the iphone or tablet. What types of events should I use to? Thank you!

lxspine மூலமாக திருத்தப்பட்டது

All Replies (1)

You can use the "touchstart" and "touchmove" events:

http://www.w3.org/TR/touch-events/

http://www.html5rocks.com/en/mobile/touch.html