Im trying to get the component that is active/focused at a given time. I already know that you can get a HTMLElement with the cross-browser javascript function document.activeElement
.
How can I cast this element to a Ext.Component or does ExtJs have a similar function?