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.

Rohkem teavet

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

more options

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!

Muudetud lxspine poolt

All Replies (1)

more options

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

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

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