Table of Contents

Method HasEventListenerNs

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

HasEventListenerNs(string, string)

This method allows the DOM application to know if this IEventTarget contains an event listener registered for the specified event type.

bool HasEventListenerNs(string namespaceUri, string type)

Parameters

namespaceUri string

Specifies the IEvent.NamespaceUri associated with the event.

type string

Specifies the IEvent.Type associated with the event.

Returns

bool

true if an event listener is registered on this IEventTarget for the specified event type, false otherwise.

Remarks

This is useful for determining at which nodes within a hierarchy altered handling of specific event types has been introduced, but should not be used to determine whether the specified event type triggers an event listener.

See Also