Table of Contents

Method InitTextEvent

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

InitTextEvent(string, bool, bool, IAbstractView, string)

The InitTextEvent method is used to initialize the value of a ITextEvent created using the IDocumentEvent.CreateEvent method.

public void InitTextEvent(string eventType, bool bubbles, bool cancelable, IAbstractView view, string data)

Parameters

eventType string
bubbles bool
cancelable bool
view IAbstractView
data string

Remarks

This method may only be called before the ITextEvent 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. This method has no effect if called after the event has been dispatched.