X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..2e847cf21b8ab9d15fa167b315ca5b2fa92638fc:/src/core/Element.keys.js diff --git a/src/core/Element.keys.js b/src/core/Element.keys.js index 8394dbcf..b02f896f 100644 --- a/src/core/Element.keys.js +++ b/src/core/Element.keys.js @@ -1,6 +1,6 @@ /*! - * Ext JS Library 3.0.3 - * Copyright(c) 2006-2009 Ext JS, LLC + * Ext JS Library 3.1.1 + * Copyright(c) 2006-2010 Ext JS, LLC * licensing@extjs.com * http://www.extjs.com/license */ @@ -11,9 +11,9 @@ Ext.Element.addMethods({ /** * Convenience method for constructing a KeyMap * @param {Number/Array/Object/String} key Either a string with the keys to listen for, the numeric key code, array of key codes or an object with the following options: - * {key: (number or array), shift: (true/false), ctrl: (true/false), alt: (true/false)} + * {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 specified function is executed. Defaults to this Element. * @return {Ext.KeyMap} The KeyMap created */ addKeyListener : function(key, fn, scope){