X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..6e39d509471fe9b4e2660e0d1631b350d0c66f40:/docs/source/Element.keys.html diff --git a/docs/source/Element.keys.html b/docs/source/Element.keys.html index e479d642..53132000 100644 --- a/docs/source/Element.keys.html +++ b/docs/source/Element.keys.html @@ -1,5 +1,6 @@ + The source code @@ -12,9 +13,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){