Table of Contents

Method RemoveEventListenerNs

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

RemoveEventListenerNs(string, string, EventListener, bool)

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

void RemoveEventListenerNs(string namespaceUri, string type, EventListener listener, bool useCapture)

Parameters

namespaceUri string

Specifies the IEvent.NamespaceUri associated with the event for which the user registered the event listener.

type string

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

listener EventListener

The EventListener parameter indicates 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 RemoveEventListenerNs with arguments which do not identify any currently registered EventListener on the EventTarget has no effect.