자바스크립트/Ext JS2013. 5. 22. 16:22
Ext.onReady(function() {
	Ext.define('Customer.support.SupportMessage', {
        extend: 'Ext.panel.Panel',
        alias: 'widget.supportMessage',
        title: 'Customer Support',
        html: 'Customer support is online'
    });
    
    Ext.application({
        name: 'Customer',
        launch: function(){
            Ext.create('Ext.container.Viewport', {
                layout: 'fit',
                items: [{
                    xtype: 'supportMessage'
                }]
            });
        }
    });
	
});
// 출처 : Ext JS4 Web Application Development Cookbook
Posted by 베니94