View Full Version : [CLOSED]Animation missing from Element.set* methods
orangechicken
2 Jul 2010, 4:56 PM
The docs say that many of the set methods take a second "animate" boolean param, but none of them appear to do so. I expected to be able to setPosition(x,y, true) and animate to the new position.
Condor
2 Jul 2010, 11:15 PM
setPosition isn't an Ext.Element method! It's a method of Ext.Component!
Ext.Element.setXY does support animation.
Animating components is a lot more complicated, because components are usually build up of mutiple elements. Only the methods that explicitly mention animation will support it.
Powered by vBulletin® Version 4.2.3 Copyright © 2018 vBulletin Solutions, Inc. All rights reserved.