Sencha touch学习笔记二
Sencha touch学习笔记2
//<debug> Ext.Loader.setPath({ 'Ext': 'touch/src', 'Reader': 'app' }); //</debug> Ext.application({ name:'Reader', icon:'images/icon.png', glossOnIcon:false, PhoneStartupScreen:'images/phone_startup.png', tabletStartuoScreen:'images/tablet_startup.png', launch:function(){ var panel=Ext.create('Ext.Panel',{ fullscreen:true, id:'myPanel', html:'第一个页面' }); Ext.Viewport.add(panel); Ext.get('myPanel').addCls('colorRed'); } });