Method InitEventNs
- Namespace
- SharpVectors.Dom.Events
- Assembly
- SharpVectors.Dom.dll
InitEventNs(string, string, bool, bool)
(DOM Level 3 Experimental)
The
public void InitEventNs(string namespaceUri, string eventType, bool bubbles, bool cancelable)
Parameters
Remarks
This method may only be called before the
IEvent has been dispatched via the
IEventTarget.DispatchEvent
method, though it may be called multiple times the event has been
dispatched. If called multiple times the final invocation takes
precedence. If a call to InitEventNs
is made after one of the IEvent derived
interfaces' init methods has been called, only the values
specified in the InitEventNs method
are modified, all other attributes are left unchanged.
This method sets the IEvent.Type
attribute to eventTypeArg
, and
IEvent.NamespaceUri to
namespaceUriArg
.