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?
What is the difference between Ext.getDom and Ext.get, and where can i find the code/docs for this func?

#2
![]() |
![]() getDom : function(el){ if(!el){ return null; } return el.dom ? el.dom : (typeof el == 'string' ? document.getElementById(el) : el); }, ![]() |
#3
![]() |
![]() Ext.getDom gets the actual DOM element while Ext.get gives you an Ext.Element object
![]() |
#4
![]() |
![]() I figured as much, thanks for the info!
![]() |