-
-
-
-
-
- |
-
-
- addListener( String/HTMLElement el , String eventName , Function handler , [Object scope ], [Object options ] ) : void
- Appends an event handler to an element. The shorthand version on is equivalent. Typically you will
-use Ext.Element....
-
- Appends an event handler to an element. The shorthand version on is equivalent. Typically you will
-use Ext.Element.addListener directly on an Element in favor of calling this version.
- Parameters:
- el : String/HTMLElementThe html element or id to assign the event handler to eventName : StringThe type of event to listen for handler : FunctionThe handler function the event invokes This function is passed
+See Ext.EventObject for more details on normalized event objects. This class is a singleton and cannot be created directly.Public Properties|
| A : Number Key constant | EventManager | | ALT : Number Key constant | EventManager | | B : Number Key constant | EventManager | | BACKSPACE : Number Key constant | EventManager | | C : Number Key constant | EventManager | | CAPS_LOCK : Number Key constant | EventManager | | CONTEXT_MENU : Number Key constant | EventManager | | CTRL : Number Key constant | EventManager | | D : Number Key constant | EventManager | | DELETE : Number Key constant | EventManager | | DOWN : Number Key constant | EventManager | | E : Number Key constant | EventManager | | EIGHT : Number Key constant | EventManager | | END : Number Key constant | EventManager | | ENTER : Number Key constant | EventManager | | ESC : Number Key constant | EventManager | | F : Number Key constant | EventManager | | F1 : Number Key constant | EventManager | | F10 : Number Key constant | EventManager | | F11 : Number Key constant | EventManager | | F12 : Number Key constant | EventManager | | F2 : Number Key constant | EventManager | | F3 : Number Key constant | EventManager | | F4 : Number Key constant | EventManager | | F5 : Number Key constant | EventManager | | F6 : Number Key constant | EventManager | | F7 : Number Key constant | EventManager | | F8 : Number Key constant | EventManager | | F9 : Number Key constant | EventManager | | FIVE : Number Key constant | EventManager | | FOUR : Number Key constant | EventManager | | G : Number Key constant | EventManager | | H : Number Key constant | EventManager | | HOME : Number Key constant | EventManager | | I : Number Key constant | EventManager | | INSERT : Number Key constant | EventManager | | J : Number Key constant | EventManager | | K : Number Key constant | EventManager | | L : Number Key constant | EventManager | | LEFT : Number Key constant | EventManager | | M : Number Key constant | EventManager | | N : Number Key constant | EventManager | | NINE : Number Key constant | EventManager | | NUM_CENTER : Number Key constant | EventManager | | NUM_DIVISION : Number Key constant | EventManager | | NUM_EIGHT : Number Key constant | EventManager | | NUM_FIVE : Number Key constant | EventManager | | NUM_FOUR : Number Key constant | EventManager | | NUM_MINUS : Number Key constant | EventManager | | NUM_MULTIPLY : Number Key constant | EventManager | | NUM_NINE : Number Key constant | EventManager | | NUM_ONE : Number Key constant | EventManager | | NUM_PERIOD : Number Key constant | EventManager | | NUM_PLUS : Number Key constant | EventManager | | NUM_SEVEN : Number Key constant | EventManager | | NUM_SIX : Number Key constant | EventManager | | NUM_THREE : Number Key constant | EventManager | | NUM_TWO : Number Key constant | EventManager | | NUM_ZERO : Number Key constant | EventManager | | O : Number Key constant | EventManager | | ONE : Number Key constant | EventManager | | P : Number Key constant | EventManager | | PAGE_DOWN : Number Key constant | EventManager | | PAGE_UP : Number Key constant | EventManager | | PAUSE : Number Key constant | EventManager | | PRINT_SCREEN : Number Key constant | EventManager | | Q : Number Key constant | EventManager | | R : Number Key constant | EventManager | | RETURN : Number Key constant | EventManager | | RIGHT : Number Key constant | EventManager | | S : Number Key constant | EventManager | | SEVEN : Number Key constant | EventManager | | SHIFT : Number Key constant | EventManager | | SIX : Number Key constant | EventManager | | SPACE : Number Key constant | EventManager | | T : Number Key constant | EventManager | | TAB : Number Key constant | EventManager | | THREE : Number Key constant | EventManager | | TWO : Number Key constant | EventManager | | U : Number Key constant | EventManager | | UP : Number Key constant | EventManager | | V : Number Key constant | EventManager | | W : Number Key constant | EventManager | | X : Number Key constant | EventManager | | Y : Number Key constant | EventManager | | Z : Number Key constant | EventManager | | ZERO : Number Key constant | EventManager | | fireDocReady : ObjectForces a document ready state transition for the framework. Used when Ext is loaded
+into a DOM structure AFTER initi... Forces a document ready state transition for the framework. Used when Ext is loaded
+into a DOM structure AFTER initial page load (Google API or other dynamic load scenario.
+Any pending 'onDocumentReady' handlers will be fired (if not already handled). | EventManager | | ieDeferSrc : Object Url used for onDocumentReady with using SSL (defaults to Ext.SSL_SECURE_URL) | EventManager | | textResizeInterval : Object The frequency, in milliseconds, to check for text resize events (defaults to 50) | EventManager |
Public Methods|
| addListener( String/HTMLElement el , String eventName , Function handler , [Object scope ], [Object options ] )
+ :
+ voidAppends an event handler to an element. The shorthand version on is equivalent. Typically you will
+use Ext.Element.... Appends an event handler to an element. The shorthand version on is equivalent. Typically you will
+use Ext.Element.addListener directly on an Element in favor of calling this version.
-
- |
- EventManager |
-
-
- |
-
-
- on( String/HTMLElement el , String eventName , Function handler , [Object scope ], [Object options ] ) : void
- Appends an event handler to an element. Shorthand for addListener.
-
- Appends an event handler to an element. Shorthand for addListener.
- Parameters:
- el : String/HTMLElementThe html element or id to assign the event handler to eventName : StringThe type of event to listen for handler : FunctionThe handler function the event invokes scope : Object(optional) The scope in which to execute the handler
-function (the handler function's "this" context) options : Object(optional) An object containing standard addListener options
- Returns:
-
-
-
-
- |
- EventManager |
-
-
- |
-
-
- onDocumentReady( Function fn , [Object scope ], [boolean options ] ) : void
- Fires when the document is ready (before onload and before images are loaded). Can be
-accessed shorthanded as Ext.onR...
-
- Fires when the document is ready (before onload and before images are loaded). Can be
-accessed shorthanded as Ext.onReady().
- Parameters:
-
- Returns:
-
-
-
-
- |
- EventManager |
-
-
- |
-
-
- onTextResize( Function fn , Object scope , boolean options ) : void
- Fires when the user changes the active text size. Handler gets called with 2 params, the old size and the new size.
-
- Fires when the user changes the active text size. Handler gets called with 2 params, the old size and the new size.
- Parameters:
-
- Returns:
-
-
-
-
- |
- EventManager |
-
-
- |
-
-
- onWindowResize( Function fn , Object scope , boolean options ) : void
- Fires when the window is resized and provides resize event buffering (50 milliseconds), passes new viewport width and...
-
- Fires when the window is resized and provides resize event buffering (50 milliseconds), passes new viewport width and height to handlers.
- Parameters:
-
- Returns:
-
-
-
-
- |
- EventManager |
-
-
- |
-
-
- removeAll( String/HTMLElement el ) : void
- Removes all event handers from an element. Typically you will use Ext.Element.removeAllListeners
-directly on an Elem...
-
- Removes all event handers from an element. Typically you will use Ext.Element.removeAllListeners
-directly on an Element in favor of calling this version.
- Parameters:
-
- Returns:
-
-
-
-
- |
- EventManager |
-
-
- |
-
-
- removeListener( String/HTMLElement el , String eventName , Function fn ) : void
- Removes an event handler from an element. The shorthand version un is equivalent. Typically
-you will use Ext.Elemen...
-
- Removes an event handler from an element. The shorthand version un is equivalent. Typically
-you will use Ext.Element.removeListener directly on an Element in favor of calling this version.
- Parameters:
-
- Returns:
-
-
-
-
- |
- EventManager |
-
-
- |
-
-
- removeResizeListener( Function fn , Object scope ) : void
- Removes the passed window resize listener.
-
- Removes the passed window resize listener.
- Parameters:
-
- Returns:
-
-
-
-
- |
- EventManager |
-
-
- |
-
-
- un( String/HTMLElement el , String eventName , Function fn ) : Boolean
- Removes an event handler from an element. Shorthand for removeListener.
-
- Removes an event handler from an element. Shorthand for removeListener.
- Parameters:
-
- Returns:
-
-
-
-
- |
- EventManager |
-
-
-
- Public Events
- This class has no public events.
-
\ No newline at end of file
+ See Ext.Element.addListener for examples of how to use these options. Returns: | EventManager |
| function()
+ :
+ Boolean | EventManager |
| handleError( Object/Error e )
+ :
+ voidFramework-wide error-handler. Developers can override this method to provide
+custom exception-handling. Framework e... Framework-wide error-handler. Developers can override this method to provide
+custom exception-handling. Framework errors will often extend from the base
+Ext.Error class. | EventManager |
| hasModifier()
+ :
+ BooleanReturns true if the control, meta, shift or alt key was pressed during this event. Returns true if the control, meta, shift or alt key was pressed during this event. | EventManager |
| on( String/HTMLElement el , String eventName , Function handler , [Object scope ], [Object options ] )
+ :
+ voidAppends an event handler to an element. Shorthand for addListener. Appends an event handler to an element. Shorthand for addListener. Parameters:el : String/HTMLElementThe html element or id to assign the event handler to eventName : StringThe name of the event to listen for. handler : FunctionThe handler function the event invokes. scope : Object(optional) (this reference) in which the handler function executes. Defaults to the Element. options : Object(optional) An object containing standard addListener options Returns: | EventManager |
| onDocumentReady( Function fn , [Object scope ], [boolean options ] )
+ :
+ voidAdds a listener to be notified when the document is ready (before onload and before images are loaded). Can be
+access... Adds a listener to be notified when the document is ready (before onload and before images are loaded). Can be
+accessed shorthanded as Ext.onReady(). | EventManager |
| onTextResize( Function fn , Object scope , boolean options )
+ :
+ voidAdds a listener to be notified when the user changes the active text size. Handler gets called with 2 params, the old... Adds a listener to be notified when the user changes the active text size. Handler gets called with 2 params, the old size and the new size. | EventManager |
| onWindowResize( Function fn , Object scope , boolean options )
+ :
+ voidAdds a listener to be notified when the browser window is resized and provides resize event buffering (100 millisecon... Adds a listener to be notified when the browser window is resized and provides resize event buffering (100 milliseconds),
+passes new viewport width and height to handlers. | EventManager |
| removeAll( String/HTMLElement el )
+ :
+ voidRemoves all event handers from an element. Typically you will use Ext.Element.removeAllListeners
+directly on an Elem... Removes all event handers from an element. Typically you will use Ext.Element.removeAllListeners
+directly on an Element in favor of calling this version. | EventManager |
| removeListener( String/HTMLElement el , String eventName , Function fn , Object scope )
+ :
+ voidRemoves an event handler from an element. The shorthand version un is equivalent. Typically
+you will use Ext.Elemen... Removes an event handler from an element. The shorthand version un is equivalent. Typically
+you will use Ext.Element.removeListener directly on an Element in favor of calling this version. Parameters:el : String/HTMLElementThe id or html element from which to remove the listener. eventName : StringThe name of the event. fn : FunctionThe handler function to remove. This must be a reference to the function passed into the addListener call.scope : ObjectIf a scope (this reference) was specified when the listener was added,
+then this must refer to the same object. Returns: | EventManager |
| removeResizeListener( Function fn , Object scope )
+ :
+ voidRemoves the passed window resize listener. Removes the passed window resize listener. | EventManager |
| un( String/HTMLElement el , String eventName , Function fn , Object scope )
+ :
+ voidRemoves an event handler from an element. Shorthand for removeListener. Removes an event handler from an element. Shorthand for removeListener. Parameters:el : String/HTMLElementThe id or html element from which to remove the listener. eventName : StringThe name of the event. fn : FunctionThe handler function to remove. This must be a reference to the function passed into the on call.scope : ObjectIf a scope (this reference) was specified when the listener was added,
+then this must refer to the same object. Returns: | EventManager |
This class has no public events.