Sys.UI.DomEvent.$clearHandlers Method

Provides a shortcut to the clearHandlers method of the Sys.UI.DomEvent class. This member is static and can be invoked without creating an instance of the class.

$clearHandlers(element);

Term

Definition

element

The DOM element that exposes the events.

For details about the method that this shortcut represents, see Sys.UI.DomEvent clearHandlers Method.

The following example shows how to clear all event handlers from an element by using the $clearHandlers shortcut method.

No code example is currently available or this language may not be supported.
Show: