X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..6746dc89c47ed01b165cc1152533605f97eb8e8d:/docs/source/KeyMap.html diff --git a/docs/source/KeyMap.html b/docs/source/KeyMap.html index 56085283..6e441ce5 100644 --- a/docs/source/KeyMap.html +++ b/docs/source/KeyMap.html @@ -15,8 +15,8 @@
-/** - * @class Ext.util.KeyMap +/** + * @class Ext.util.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}. * If you bind a callback function to a KeyMap, anytime the KeyMap handles an expected key @@ -56,14 +56,16 @@ var map = new Ext.util.KeyMap("my-element", [ ]); </code></pre> * <b>Note: A KeyMap starts enabled</b> - * @constructor - * @param {Mixed} el The element to bind to - * @param {Object} binding The binding (see {@link #addBinding}) - * @param {String} eventName (optional) The event to bind to (defaults to "keydown") */ Ext.define('Ext.util.KeyMap', { alternateClassName: 'Ext.KeyMap', - + + /** + * Creates new KeyMap. + * @param {Mixed} el The element to bind to + * @param {Object} binding The binding (see {@link #addBinding}) + * @param {String} eventName (optional) The event to bind to (defaults to "keydown") + */ constructor: function(el, binding, eventName){ var me = this;