Table of Contents

Method InitUiEvent

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

InitUiEvent(string, bool, bool, IAbstractView, long)

The InitUiEvent method is used to initialize the value of a IUiEvent created using the IDocumentEvent.CreateEvent method.

public void InitUiEvent(string eventType, bool bubbles, bool cancelable, IAbstractView view, long detail)

Parameters

eventType string
bubbles bool
cancelable bool
view IAbstractView
detail long

Remarks

This method may only be called before the InitUiEvent has been dispatched via the IEventTarget.DispatchEvent method, though it may be called multiple times during that phase if necessary. If called multiple times, the final invocation takes precedence.