Upgrade to ExtJS 3.3.0 - Released 10/06/2010
[extjs.git] / docs / source / EventManager-more.html
index 11373d5..96b8d01 100644 (file)
@@ -7,12 +7,12 @@
 </head>
 <body  onload="prettyPrint();">
     <pre class="prettyprint lang-js">/*!
- * Ext JS Library 3.2.2
+ * Ext JS Library 3.3.0
  * Copyright(c) 2006-2010 Ext JS, Inc.
  * licensing@extjs.com
  * http://www.extjs.com/license
  */
-<div id="cls-Ext.EventManager"></div>/**
+/**
 * @class Ext.EventManager
 */
 Ext.apply(Ext.EventManager, function(){
@@ -116,6 +116,11 @@ Ext.apply(Ext.EventManager, function(){
         * Url used for onDocumentReady with using SSL (defaults to Ext.SSL_SECURE_URL)
         */
        ieDeferSrc : false,
+       
+       // protected, short accessor for useKeydown
+       getKeyEvent : function(){
+           return useKeydown ? 'keydown' : 'keypress';
+       },
 
        // protected for use inside the framework
        // detects whether we should use keydown or keypress based on the browser.