View Full Version : [CLOSED]Animation missing from Element.set* methods
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.
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.1.5 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.