PDA

View Full Version : Cannot find API for Element.highlight?



IvanJ
12 Nov 2009, 12:03 PM
I'm trying to find API for the highlight() function, but I cannot find it in the Element API.

What am I doing wrong?

This works:



Ext.get('checkboxgroupFieldset').highlight();


According to Ext.get() API, it return an Element.

According to Element API, there's no highlight().

Am I using the API wrong or did they not write it right?

VinylFox
12 Nov 2009, 12:19 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
12 Nov 2009, 12:30 PM
Thanks!