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
namespaceUristringSpecifies the IEvent.NamespaceUri associated with the event.
typestringSpecifies the IEvent.Type associated with the event.
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