Package: | Ext |
Defined In: | EventManager.js |
Class: | EventManager |
Extends: | Object |
Method | Defined By | |
---|---|---|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
EventManager | |
removeResizeListener( Function fn , Object scope ) : void Removes the passed window resize listener.
Removes the passed window resize listener.
Parameters:
|
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:
|
EventManager |