码迷,mamicode.com
首页 > Web开发 > 详细

ExtJS 4 【Ext.container.Viewport】

时间:2016-11-24 06:18:57      阅读:211      评论:0      收藏:0      [点我收藏+]

标签:back   img   class   height   ges   lin   enter   margin   image   

技术分享

 

Ext.onReady(function(){
	Ext.create(‘Ext.container.Viewport‘, {
		layout: ‘border‘,
		items: [{
			title: ‘1‘,
			region: ‘north‘,
			html: ‘ <a href="../../Default.html">首页</a>‘,
			height: 100
		}, {
			title: ‘2‘,
			region: ‘west‘,
			width: 150,
			html: ‘left‘
		}, {
			title: ‘3‘,
			html: ‘middle‘,
			region: ‘center‘
		}]
	});
});

ExtJS 4 【Ext.container.Viewport】

标签:back   img   class   height   ges   lin   enter   margin   image   

原文地址:http://www.cnblogs.com/CodingArt/p/6095579.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!