PDA

View Full Version : using taphold



adammascherin
27 Apr 2011, 8:18 AM
I'm currently working with Ext JS 3.3 and was wondering how to listen for taphold events?

friend
27 Apr 2011, 8:21 AM
That's probably something more geared to Sencha Touch, rather than ExtJs.

The tap/hold concept doesn't typically apply to your average web application; it's more a 'mobile device' kinda thing.

adammascherin
27 Apr 2011, 8:37 AM
right, how would I integrate sencha touch?

friend
27 Apr 2011, 8:50 AM
I apologize for any 'smartypants-ness', but I'd start by posting in the Sencha Touch Discussion and Help (http://www.sencha.com/forum/forumdisplay.php?55-Sencha-Touch-Help-amp-Discussion) forum.

adammascherin
27 Apr 2011, 9:21 AM
ok. I'll head over to the touch forums, but to clarify, Ext js can listen to the touchstart event and thats it? It seems as though I can listen to the touchstart event, but can't figure out a way to listen to the tap, taphold, singletap, doubletap, etc etc.

friend
27 Apr 2011, 9:30 AM
Most ExtJs components respond to 'HTML' style events, e.g. 'click', 'dblclick', etc.

Is there a particular Ext component you're referring to that supports a 'touchstart' event?