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
namespaceUri
stringSpecifies the IEvent.NamespaceUri associated with the event.
eventType
string
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