| Package: | CQ.Ext |
| Class: | EventManager |
| Extends: | Object |
| Clientlib: | cq.widgets |
| 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 CQ.Ext.Eleme...
Appends an event handler to an element. The shorthand version on is equivalent. Typically you will
use CQ.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 Adds 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 CQ.Ext.onReady().
Parameters:
|
EventManager | |
onWindowLoaded( Function fn, [Object scope], [boolean options] ) : void Fires when the window is loaded.
Fires when the window is loaded.
Parameters:
|
EventManager | |
removeAll( String/HTMLElement el ) : void Removes all event handers from an element. Typically you will use CQ.Ext.Element.removeAllListeners
directly on an E...
Removes all event handers from an element. Typically you will use CQ.Ext.Element.removeAllListeners
directly on an Element in favor of calling this version.
Parameters:
|
EventManager | |
removeListener( String/HTMLElement el, String eventName, Function fn, Object scope ) : void Removes an event handler from an element. The shorthand version un is equivalent. Typically
you will use CQ.Ext.Ele...
Removes an event handler from an element. The shorthand version un is equivalent. Typically
you will use CQ.Ext.Element.removeListener directly on an Element in favor of calling this version.
Parameters:
|
EventManager | |
un( String/HTMLElement el, String eventName, Function fn, Object scope ) : void Removes an event handler from an element. Shorthand for removeListener.
Removes an event handler from an element. Shorthand for removeListener.
Parameters:
|
EventManager | |