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>