ext总结
来源:互联网 发布:知豆电动汽车报价 编辑:程序博客网 时间:2024/05/20 23:07
- 自定义MessageBox
Ext.MessageBox.show({ title:'提示', msg:'自定义按钮', modal:true, buttons:Ext.Msg.YESNO});
- 获取dom
Ext.get('foo'); //通过Id获取元素
- 添加类
addClass('elCss') //添加类
- 改变样式
setStyle({ color: 'red', background: 'yellow', font-weight: 'bold' }) //设置样式
- query 操作
Ext.query("span") //所有的span元素Ext.query("span", "foo"); //父元素为‘foo’的spanExt.query("#foo"); Ext.query(".foo"); Ext.query("*"); Ext.query("div p"); 查询p:被包含在div下Ext.query("*[class]");Ext.query("*[class=bar]");Ext.query("*[class^=b]");Ext.query("*[class$=r]");
- 事件监听
e.on({ 'click' : { fn: this.onClick, scope: this, delay: 100 }, 'mouseover' : { fn: this.onMouseOver, scope: this }, 'mouseout' : { fn: this.onMouseOut, scope: this }});或者下面的el.on({ 'click' : this.onClick, 'mouseover' : this.onMouseOver, 'mouseout' : this.onMouseOut, scope: this});
- 通过id获取组件
getCmp(id)
0 0
- ext总结
- ext项目总结
- ext项目总结
- EXT日期使用总结
- 使用Ext 总结
- Ext 总结(一)
- 好好总结EXT
- Ext 常用属性总结
- EXT JS 使用总结
- ext项目总结
- Ext布局总结(转)
- ext问题总结
- ext开发环境总结
- EXT总结1
- EXT.Panel 总结
- EXT请求总结
- EXT学习总结
- Ext js总结
- Anaconda 安装额外Python环境 后新环境安装Spyder 打开一闪而过的解决方法
- 5-5
- thinkcmf生成的验证码不显示
- 设计数据库的三大范式是什么?
- Matlab:plot函数学习(1)
- ext总结
- Matlab:plot函数学习(2)
- EM算法 实例讲解
- 第148讲:Spark RDD中Transformation的combineByKey、reduceByKey详解
- 从程序员到项目经理(19):想改变任何人都是徒劳的
- 从程序员到项目经理(20):让员工为目标而干活
- Linux终端快捷键
- LTE 网络优化 网优 入场面试题 笔试题 面试题
- 【厚积薄发】编程技术总结4—new、delete、malloc、free简述