Let's say I have JS in a single file that creates Viewport:
Ext.create('Ext.container.Viewport', {
layout: 'border',
items: [
{
region: 'center'
},
...
]
});
Now let's say that I have another JS file that is subsequently loaded with this component definition:
{
contentEl: 'content',
height: '100%'
}
How to add this component to contentEl: 'content'the area 'center'?
source
share