Stupid question... Ext.getDom? - Ext JS

Alright, so been scratching my head a bit. I can't seem to find any documentation or definition in the code for Ext.getDom, yet I see it being called from a ton of Ext methods...

What is the difference between Ext.getDom and Ext.get, and where can i find the code/docs for this func?
  # 2  
03-16-2007, 09:05 AM

        getDom : function(el){
            if(!el){
                return null;
            }
            return el.dom ? el.dom : (typeof el == 'string' ? document.getElementById(el) : el);
        },
Gets a dom element from a String/HtmlElement/Ext.Element
  # 3  
03-16-2007, 09:06 AM

Ext.getDom gets the actual DOM element while Ext.get gives you an Ext.Element object
  # 4  
03-16-2007, 09:07 AM

I figured as much, thanks for the info!

你可能感兴趣的:(ext)