stopObserving

stopObserving(element, eventName, handler) -> HTMLElement

Unregisters handler and returns element.

This is a simple proxy for Event.stopObserving. Please refer to it for further information.

Example


$(element).stopObserving('click', coolAction);
// -> HTMLElement (and unregisters the 'coolAction' event handler).