上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 24 下一页
  2014年11月21日
摘要: 1 Ext.define('TestViewModel', { 2 extend: 'Ext.app.ViewModel', 3 4 alias: 'viewmodel.test', // connects to viewModel/type below 5 constru... 阅读全文
posted @ 2014-11-21 15:05 邵邵 阅读(285) 评论(0) 推荐(0) 编辑
  2014年11月19日
摘要: 下载Font Awesome1.拷贝css 和 fonts 到build同级目录2.需要在index.html中引入css文件3.在main.js文件中添加 1 initComponent : function() { 2 Ext.setGlyphFontFamily('FontAwes... 阅读全文
posted @ 2014-11-19 23:23 邵邵 阅读(406) 评论(0) 推荐(0) 编辑
摘要: Viewport: 一个专门的容器用于可视应用领域(浏览器窗口).Viewport渲染自身到网页的documet body区域, 并自动将自己调整到适合浏览器窗口的大小,在窗口大小发生改变时自动适应大小。 一个页面中只能创建一个Viewport。任何的Container容器都可以作为一个Viewp... 阅读全文
posted @ 2014-11-19 16:53 邵邵 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 今天很是幸运,看到了一位大神的博客,学习了不少的东西。太感谢了.(满满的都是爱啊)建议去学习这个大神的博客,真心不错。博客地址:http://blog.csdn.net/column/details/extjs5.html?&page=1首先要建立一个简单的项目,我是使用的Sencha Archit... 阅读全文
posted @ 2014-11-19 15:11 邵邵 阅读(2964) 评论(3) 推荐(0) 编辑
摘要: 1 Ext.onReady(function(){ 2 //案例一 3 /* 4 var countries = ['Vietnam', 'Singapore', 'United States', 'Russia']; 5 ... 阅读全文
posted @ 2014-11-19 11:42 邵邵 阅读(981) 评论(0) 推荐(0) 编辑
摘要: extJs代码: 1 2 3 4 5 php代码 1 true); 5 echo json_encode($result); 6 }else{ 7 $result = array('flag'=>fal... 阅读全文
posted @ 2014-11-19 11:22 邵邵 阅读(264) 评论(0) 推荐(0) 编辑
  2014年11月18日
摘要: 一个登陆界面: 1 Ext.onReady(function(){ 2 3 Ext.define('Login', { 4 //renderTo: Ext.getBody(), 5 extend: 'Ex... 阅读全文
posted @ 2014-11-18 17:10 邵邵 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 显示和隐藏所有的组件都是在show和hide方法中构造的。用来隐藏组件的默认的css方法是“display:none”但是通过hidemode配置的时候就有所变化了:Ext.onReady(function(){var panel = Ext.create('Ext.panel.Panel',{ ... 阅读全文
posted @ 2014-11-18 09:28 邵邵 阅读(378) 评论(0) 推荐(0) 编辑
  2014年11月17日
摘要: 1 Ext.onReady(function(){ 2 Ext.define('User', { 3 extend: 'Ext.data.Model', 4 fields: [ 5 ... 阅读全文
posted @ 2014-11-17 17:06 邵邵 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 1 /** 2 * 创建模型,设置id 3 */ 4 Ext.onReady(function(){ 5 Ext.define('Person',{ 6 extend:'Ext.d... 阅读全文
posted @ 2014-11-17 17:05 邵邵 阅读(219) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 24 下一页

淘宝美工兼职招聘