Sys.UI.DomEvent clearHandlers Method
Removes all DOM event handlers from a DOM element that were added through the Sys.UI.DomEvent addHandler or the Sys.UI.DomEvent addHandlers methods. This member is static and can be invoked without creating an instance of the class.
Sys.UI.DomEvent.clearHandlers(element);
Parameters
Term |
Definition |
---|---|
element |
The element that exposes the events. |
Remarks
This method can be accessed through the $clearHandlers shortcut method.