EventListener
is removed from an EventTarget
while it is processing an event, it will complete its current actions but will not be triggered again during any later stages of event flow. EventListener
is removed from an EventTarget
which is currently processing an event the removed listener will still be triggered by the current event. removeEventListener
with arguments which do not identify any currently registered EventListener
on the EventTarget
has no effect.
@param type Specifies the event type of the EventListener
being removed.
@param listener The EventListener
parameter indicates the EventListener
to be removed.
@param 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|