Table of Contents

Interface IMutationEvent

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

The IMutationEvent interface provides specific contextual information associated with Mutation events.

public interface IMutationEvent : IEvent
Inherited Members

Remarks

Note: To create an instance of the IMutationEvent interface, use the feature string "MutationEvent" as the value of the input parameter used with the IDocumentEvent.CreateEvent method.

Properties

AttrChange

attrChange indicates the type of change which triggered the DOMAttrModified event. The values can be AttrChangeType.Modification, AttrChangeType.Addition, or AttrChangeType.Removal.

AttrName

AttrName indicates the name of the changed attribute node in a AttrChangeType.Modification event.

NewValue

NewValue indicates the new value of the attribute node in DOMAttrModified events, and of the ICharacterData node in DOMCharacterDataModified events.

PrevValue

PrevValue indicates the previous value of the attribute node in AttrChangeType.Modification events, and of the ICharacterData node in DOMCharacterDataModified events.

RelatedNode

RelatedNode is used to identify a secondary node related to a mutation event.

Methods

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.

InitMutationEventNs(string, string, bool, bool, INode, string, string, string, AttrChangeType)

The InitMutationEventNs method is used to initialize the value of a IMutationEvent created using the IDocumentEvent.CreateEvent method.