(extends Object)
Object Summary
Constructor
This object has no constructor. It is statically accessed.
Methods
EventHandler.addEventListener(elmID,strEventType,fncEventListener,blnBypassRegistry)
parameters
elmID - The String index or object reference of the object to attach an event.
strEventType - The type of the event (such as "click", "mousemove" or "mouseover").
fncEventListener - Reference to the listener method.
blnBypassRegistry - (optional) If true, a record is not added to the EventRegistry for later detachment of event at window unload (if no parameter is specified, the default value is assumed to be false).
comments
Adds an event listener.
EventHandler.removeEventListener(elmID,strEventType,fncEventListener)
parameters
elmID - The String index or object reference of the object to attach an event.
strEventType - The type of the event (such as "click", "mousemove" or "mouseover").
fncEventListener - Reference to the listener method.
blnBypassRegistry - If true, a record is not added to the EventRegistry for later detachment of event at window unload (if no parameter is specified, the default value is assumed to be false).
comments
Detaches an event listener.
See Also
EventObject
EventRegistry
EventModel
Usage Examples
Comments (0)
You don't have permission to comment on this page.