Ext.onReady(function() { new Ext.Panel({ renderTo : 'hello', title : '容器组件', layout : 'fit', width : 500, height : 100, items : [{ title : '子元素', html : '这是子元素中的内容' }] }); });
Ext.onReady(function() { new Ext.Panel({ renderTo : 'hello', title : '容器组件', layout : 'fit', width : 500, height : 100, items : [{ title : '子元素', html : '这是子元素中的内容' }] }); });