تلاش سپورٹ

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.

مزید سیکھیں

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

  • 1 جواب دیں
  • 1 میں یہ مسئلہ ہے
  • 2 دیکھیں
  • آخری جواب بذریعہ Matt Brubeck

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!

lxspine کی جانب سے میں ترمیمکی گئ

تمام جوابات (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