Class MutationEvent
- Namespace
- SharpVectors.Dom.Events
- Assembly
- SharpVectors.Dom.dll
Summary description for MutationEvent.
public class MutationEvent : Event, IMutationEvent, IEvent
- Inheritance
-
MutationEvent
- Implements
- Derived
- Inherited Members
Constructors
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.