-
18 Feb 2012 5:49 PM #1
Answered: tap & double tap
Answered: tap & double tap
In ST 1.1 double tapping triggers double tap event but in ST2.0 it triggers both, tap & double tap events...
-
Best Answer Posted by mitchellsimoens
On the Element there is http://docs.sencha.com/touch/2-0/#!/...vent-singletap
-
19 Feb 2012 7:33 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 436
- Answers
- 3113
Good to know. I'm guessing the nest thing you would like to do is ask how to stop the tap event when you doubletap? Simple answer, you can't really.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
19 Feb 2012 7:47 AM #3
is that mean it is impossible to assign tap & doubletap events simultaneously?
-
19 Feb 2012 9:00 AM #4Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,653
- Vote Rating
- 14
- Answers
- 17
If you want to distingush a doubletap event you have to couple it with singletap, not tap...tap has no delay when it fires, so it cannot be stopped from firing. singletap has a delay so it can be stopped.
-
19 Feb 2012 9:06 AM #5
-
19 Feb 2012 9:10 AM #6Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 436
- Answers
- 3113
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.


Reply With Quote