Table of Contents

Method RemoveEventListener

Namespace
SharpVectors.Dom.Events
Assembly
SharpVectors.Core.dll

RemoveEventListener(string, EventListener, bool)

This method allows the removal of event listeners from the default group.

void RemoveEventListener(string type, EventListener listener, bool useCapture)

Parameters

type string

Specifies the IEvent.Type for which the user registered the event listener.

listener EventListener

The EventListener to be removed.

useCapture bool

Specifies whether the EventListener being removed was registered for the capture phase or not. If a listener was registered twice, once for the capture phase and once for the target and bubbling phases, each must be removed separately. Removal of an event listener registered for the capture phase does not affect the same event listener registered for the target and bubbling phases, and vice versa.

Remarks

Calling RemoveEventListener with arguments which do not identify any currently registered EventListener on the IEventTarget has no effect.