X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..6e39d509471fe9b4e2660e0d1631b350d0c66f40:/docs/source/KeyMap.html diff --git a/docs/source/KeyMap.html b/docs/source/KeyMap.html index 073915d0..87f641cb 100644 --- a/docs/source/KeyMap.html +++ b/docs/source/KeyMap.html @@ -1,17 +1,12 @@ - - - The source code - - - - -
/*!
- * Ext JS Library 3.0.3
- * Copyright(c) 2006-2009 Ext JS, LLC
- * licensing@extjs.com
- * http://www.extjs.com/license
- */
-
/** + + + + The source code + + + + +
/** * @class Ext.KeyMap * Handles mapping keys to actions for an element. One key map can be used for multiple actions. * The constructor accepts the same config object as defined by {@link #addBinding}. @@ -179,7 +174,7 @@ map.addBinding({ * following options: * {key: (number or array), shift: (true/false), ctrl: (true/false), alt: (true/false)} * @param {Function} fn The function to call - * @param {Object} scope (optional) The scope of the function + * @param {Object} scope (optional) The scope (this reference) in which the function is executed. Defaults to the browser window. */ on : function(key, fn, scope){ var keyCode, shift, ctrl, alt; @@ -246,6 +241,6 @@ map.addBinding({ setDisabled : function(disabled){ this[disabled ? "disable" : "enable"](); } -};
- +};
+ \ No newline at end of file