首页 > 代码库 > ExtJS 4 【Ext.container.Viewport】

ExtJS 4 【Ext.container.Viewport】

技术分享

 

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

ExtJS 4 【Ext.container.Viewport】