8 Jan 2013 3:36 AM #1
Answered: pressedCls for image
How to apply pressedCls css for the image or any solution when i tap on image it should change.
thanks in advance,
You can add a touchstart event listener to the image element to add a css class and then touchend event listener to the image element to remove it.
9 Jan 2013 8:44 PM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
You can add a touchstart event listener to the image element to add a css class and then touchend event listener to the image element to remove it.Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
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 email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
9 Jan 2013 8:56 PM #3