View Full Version : how to apply animation to an element
27 Apr 2012, 9:52 AM
Is it possible to animate an element by its 'left/top' style property based on its id (using Sencha Touch 2 of course)?
I've checked Ext.Anim but I don't think that object can do it. Any suggestions how to do this ?
28 Apr 2012, 4:21 PM
As an alternative you can try adding custom css animation function to your element, something like this :
I implemented the code to animate an image in each item of my list component
28 Apr 2012, 11:48 PM
thanks, I didn't think of that! Very useful indeed!!
BTW, I found out how to do it with animations in ST: http://stackoverflow.com/questions/9872730/animating-dimensions-in-sencha-touch-2
Powered by vBulletin® Version 4.1.5 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.