![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Ext
tinalucky
生活就是挑战自己!
展开
-
Ext.extend的使用
[code="javascript"]function A(id){ this.id = id; } //A.prototype.said = function(){ // document.write(id); //} A.prototype = { said : function(){ document.write(this.id); } } functio...2010-04-14 22:33:39 · 92 阅读 · 0 评论 -
Ext 继承
一个Ext继承模板: [code="javascript"]MyComponent = Ext.extend ( Ext.some .component , { //缺省构造参数,可被自定义设置覆盖 propA: 1 , initComponent: function ( ) { //在组件初始化期间调用的代码 ...2010-04-18 16:38:09 · 126 阅读 · 0 评论