4 * A basic example demonstrating how a Container contains other items using the items config.
6 Ext.require('Ext.panel.Panel');
8 Ext.onReady(function() {
10 var childPanel1 = Ext.create('Ext.panel.Panel', {
11 title: 'Child Panel 1',
17 var childPanel2 = Ext.create('Ext.panel.Panel', {
18 title: 'Child Panel 2',
19 html: 'Another Panel',
24 Ext.create('Ext.container.Viewport', {
25 items: [ childPanel1, childPanel2 ]