Sys.UI.DomEvent $addHandler Method
Provides a shortcut to the Sys.UI.DomEvent.addHandler method. This member is static and can be invoked without creating an instance of the class.
Syntax
$addHandler(element, eventName, handler);
|
Term
|
Definition
|
|
element
|
The element that exposes the event.
|
|
eventName
|
The name of the event.
|
|
handler
|
The event handler to add.
|
Remarks
For details about the method that this shortcut represents, see Sys.UI.DomEvent.addHandler Method.