Ext.define('MyApp.view.ui.MyPanel1', {
extend: 'Ext.panel.Panel',
height: 461,
width: 586,
title: 'My Panel',
initComponent: function() {
var me = this;
me.callParent(arguments);
}
});
extend: 'Ext.panel.Panel',
height: 461,
width: 586,
title: 'My Panel',
initComponent: function() {
var me = this;
me.callParent(arguments);
}
});
本文介绍了一种使用 ExtJS 框架创建自定义面板的方法。通过继承 Ext.panel.Panel 类,定义了一个名为 MyPanel1 的面板组件,并设置了面板的高度、宽度及标题等属性。
1138

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



