ZVON > References > DOM2 Reference

removeEventListener (method )

Owning interface and usage:  
EventTarget.removeEventListener(type, listener, useCapture)

Member of these other interfaces:  
none

Description:  
This method allows the removal of event listeners from the event target. If an EventListener is removed from an EventTarget while it is processing an event, it will not be triggered by the current actions. EventListeners can never be invoked after being removed. Calling removeEventListener() with arguments which do not identify any currently registered EventListener on the EventTarget has no effect.

Parameters:  
DOMString type  -  Specifies the event type of the EventListener being removed.
EventListener listener  -  The EventListener parameter indicates the EventListener to be removed.
Boolean useCapture  -  Specifies whether the EventListener being removed was registered as a capturing listener or not. If a listener was registered twice, one with capture and one without, each must be removed separately. Removal of a capturing listener does not affect a non-capturing version of the same listener, and vice versa.

Returns:  
nothing

Exceptions:  
none