摘要:
http://www.iteye.com/problems/66042 以下是我知道的: 1. 将组件从容器中移除时会默认调用子组件的destroy方法 2. Ext.Window默认的closeAction为close,它最终也是调用Window的destroy 3. 一个容器被销毁时,会递归调用 阅读全文
posted @ 2016-06-08 17:38
桔子爱世界
阅读(679)
评论(0)
推荐(0)
摘要:
1. initComponent这个方法是在Ext.Component的构造函数(constructor)中调用的,只有直接或间接继承自 Ext.Component的类才会在constructor里调用initComponent方法 看一下 Ext.AbstractComponent的源码文件 sr 阅读全文
posted @ 2016-06-08 15:26
桔子爱世界
阅读(5635)
评论(0)
推荐(0)
摘要:
http://hintcnuie.iteye.com/blog/146813 Ext中在每一个页面中添加一个namespace呢,就像下面的代码: 作用呢就是用来封装一个global范围对象的属性和方法,以避免和其它的对象的属性和方法发生冲突,定义在return块中的方法和属性是公共的,外界 可以直 阅读全文
posted @ 2016-06-08 14:27
桔子爱世界
阅读(1513)
评论(0)
推荐(0)