摘要:
下面的模板(基于Jozef Sakalos在mjlecomte's帖子中的回复)可作为扩展Ext.Component的起点。view sourceprint?01.MyComponent = Ext.extend(Ext.some.component, {02.//缺省构造参数,可被自定义设置覆盖03.propA: 1,04.05.initComponent: function(){06.//在组件初始化期间调用的代码07.08.//因为配置对象应用到了“this”,所以属性可以在这里被覆盖,或者添加新的属性09.//(如items,tools,buttons)10.Ext.apply 阅读全文
posted @ 2013-11-28 17:00
暖暖小时候
阅读(216)
评论(0)
推荐(0)

浙公网安备 33010602011771号