摘要: 1. create a project using city bars template in sencha architect2. save your project name as CityBars3. modify your controll code to:Ext.define('CityBars.controller.Business', { extend: 'Ext.app.Controller', config: { refs: { dataList: '#dataList', listCard: '#list... 阅读全文
posted @ 2014-01-19 21:28 zyip 阅读(331) 评论(0) 推荐(0)
摘要: controller:Ext.define('MyApp2.controller.MyController1', { extend: 'Ext.app.Controller', config: { control: { "#image2": { tap: 'onImageTap' } } }, onImageTap: function(image, e, eOpts) { console.log('img2 tap'); }});view:Ext.d... 阅读全文
posted @ 2014-01-19 15:11 zyip 阅读(324) 评论(0) 推荐(0)