复制代码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37Ext.create('Ext.container.Viewport', { layout: 'border', items: [{ region: 'north', html: '<h1 class="x-panel-header">Page Title</h1>', border: false, margins: '0 0 5 0' }, { region: 'west', collapsible: true, title: 'Navigation', width: 150 // 这里通常可以使用 TreePanel 或者 AccordionLayout布局的导航菜单 }, { region: 'south', title: 'South Panel', collapsible: true, html: 'Information goes here', split: true, height: 100, minHeight: 100 }, { region: 'east', title: 'East Panel', collapsible: true, split: true, width: 150 }, { region: 'center', xtype: 'tabpanel', // TabPanel本身没有title属性 activeTab: 0, // 配置默认显示的激活面板 items: { title: 'Default Tab', html: 'The first tab's content. Others may be added dynamically' } }] });
1.-------------------------》
最后
以上就是危机手机最近收集整理的关于Ext学习心得(一)的全部内容,更多相关Ext学习心得(一)内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复