Jack,
I just noticed something.
When i use Ext.get and the object does not exist it returns a null/undefined but Ext.fly returns the object with the dom equal to null/undefined. I would think that Ext.fly should also return null/undefined if the object does not exist.
Jon
I just noticed something.
When i use Ext.get and the object does not exist it returns a null/undefined but Ext.fly returns the object with the dom equal to null/undefined. I would think that Ext.fly should also return null/undefined if the object does not exist.
Jon
__________________
Jon
Web Application Developer - Indianapolis Motor Speedway
bombdiggity.net
Jon
Web Application Developer - Indianapolis Motor Speedway
bombdiggity.net

本文探讨了在Ext框架中使用Ext.get与Ext.fly方法的区别。当目标DOM元素不存在时,Ext.get返回null/undefined,而Ext.fly则返回一个带有空DOM的引用对象。文章讨论了这两种行为的差异及其可能的原因。
1256

被折叠的 条评论
为什么被折叠?



