zoukankan      html  css  js  c++  java
  • 让toolbar.button以及formpanel中的button像个普通按钮

    先把按钮默认的cls设置成鼠标放上去的样子x-btn-over。然后添加鼠标移开的事件。删除和添加这个样式

                     text : '查询',           

                       iconCls:'icon-find',   

                       cls:'x-btn-over',                      

                       listeners:{   

                           mouseout:function(){   

                                this.removeClass('x-btn-over');   

                          this.addClass('x-btn-over');                               

                           }   

                        },                     

                       handler : function() { 

     

     }

  • 相关阅读:
    字典
    列表
    重要的方法
    一笔"狗"销,"猪"事顺利!!!
    基础数据类型
    循环,格式化,运算符
    算法——三角形图形
    算法——字母金字塔
    算法——二进制求和
    Python power函数
  • 原文地址:https://www.cnblogs.com/biandande/p/2280522.html
Copyright © 2011-2022 走看看