`
Blackbaby
  • 浏览: 179949 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

Ext 学习笔记

阅读更多

1.Ext组合键

<input id="hello"></input>
    <script type="text/javascript">
        var el=Ext.get("hello");
        new Ext.KeyMap(el, {
                //ctrl:true,
                  //shift:true,
                  stopEvent :true,
                key:Ext.EventObject.F1,
                fn: function(e){
                    new Ext.Window({
                        id:'Hello',
                        title :'Hello World',
                        height :300
                    }).show();
                },
                scope : el
            }
        );
    </script>

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics