You can use the following code snippet:
setTimeout(function(){
Ext.ComponentManager.get('MyPanel').add({
xtype:'button',
align:'right,
html('Go!')
});
}, 10000);
It is assumed that you have a panel or container with the id configuration set to MyPanel as the parent of the button you want to add. You can do this in one of your controllers, for example.
, , :
{
xtype: 'button',
align: 'right',
hidden: false,
html: 'Go!',
id:'MyButton'
}
'hidden' setTimeout:
setTimeout(function(){
Ext.ComponentManager.get('MyButton').setHidden(false);
}, 10000);
, , .