Method HasEventListenerNs
- Namespace
- SharpVectors.Dom.Events
- Assembly
- SharpVectors.Dom.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.
public bool HasEventListenerNs(string namespaceUri, string eventType)
Parameters
namespaceUristringSpecifies the IEvent.NamespaceUri associated with the event.
eventTypestring
Returns
- bool
trueif an event listener is registered on this IEventTarget for the specified event type,falseotherwise.
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