Table of Contents

Method InitMutationEvent

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

InitMutationEvent(string, bool, bool, INode, string, string, string, AttrChangeType)

The InitMutationEvent method is used to initialize the value of a IMutationEvent created using the IDocumentEvent.CreateEvent method. This method may only be called before the IMutationEvent has been dispatched via the IEventTarget.DispatchEvent method, though it may be called multiple times before being dispatched if necessary. If called multiple times, the final invocation takes precedence.

public void InitMutationEvent(string eventType, bool bubbles, bool cancelable, INode relatedNode, string prevValue, string newValue, string attrName, AttrChangeType attrChange)

Parameters

eventType string
bubbles bool
cancelable bool
relatedNode INode
prevValue string
newValue string
attrName string
attrChange AttrChangeType