Ext学习之路——Ext.application

Ext.application({
    name: 'MyApp',
    launch: function() {
        Ext.create('Ext.container.Viewport', {
            items: {
                html: 'My App'
            }
        });
    }
});

 

posted @ 2019-10-29 14:44  一抹夏忧☆  阅读(569)  评论(0编辑  收藏  举报