PDA

View Full Version : Cannot find API on Element.SlideIn / Out?



IvanJ
9 Nov 2009, 10:33 AM
I'm watching Jay Garcia tutorial here: http://tdg-i.com/category/extjs/ext-and-javascript-screencasts/page/3

...and he references panel.el.SlideIn() and SlideOut() elements.

When I browse the API docs, I don't see these methods listed for an Element.

Any idea why?

VinylFox
9 Nov 2009, 1:41 PM
From the Ext.Element doc page:


All instances of this class inherit the methods of Ext.Fx making visual effects easily available to all DOM elements.

http://www.extjs.com/deploy/dev/docs/?class=Ext.Fx

IvanJ
9 Nov 2009, 1:45 PM
Hmm I thought superclass methods are reflected in subclass' API?

VinylFox
9 Nov 2009, 2:09 PM
I believe that its not doing so in this case because those methods are not inherited, but added. The doc generator apparently cant handle that.


Ext.Element.addMethods(Ext.Fx);