Table of Contents

Method WillTriggerNs

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

WillTriggerNs(string, string)

This method allows the DOM application to know if an event listener, attached to this IEventTarget or one of its ancestors, will be triggered by the specified event type during the dispatch of the event to this event target or one of its descendants.

bool WillTriggerNs(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 will be triggered on the IEventTarget with the specified event type, false otherwise.