05 2013 档案
摘要:1 //监控幻灯片页面 2 huandeng: { 3 //幻灯片旋转事件 4 painted: function (sender, opts) { 5 sender.element.on('dragend', 6 function (e) { 7 if (sender.offset == 0) { 8 ...
阅读全文
摘要:今天一个朋友问我setRecord 与 setData的区别这里就不得不说到record与data的区别console.log(record);console.log(data);根据官方api的解释说record:Ext.data.ModelA model instance which updates the Component's html based on it's tpl. Similar to the data configuration, but tied to to a record to make allow dynamic updates. This must
阅读全文
摘要:呃,在小米手机上测试了下,表现的不是很好...放弃使用了..此文仅作参考效果如图2.1源码https://github.com/mitchellsimoens/Ux.layout.Accordion这个效果不错,正在尝试使用
阅读全文
摘要:直接分离插件化,可选择是否支持历史记录功能 1 /* 2 *扩展NavigationView 3 *返回时自动销毁视图,节约内存 4 */ 5 Ext.define('ux.CardPanel', { 6 extend: 'Ext.NavigationView', 7 ...
阅读全文