MutationRecord Properties

The MutationRecord type exposes the following members.

Properties
  NameDescription
Public propertyAddedNodes
Return the nodes added.
Public propertyAttributeName
Returns the local name of the changed attribute, and null otherwise.
Public propertyAttributeNamespace
Returns the namespace of the changed attribute, and null otherwise.
Public propertyNextSibling
Return the next sibling of the added or removed nodes, or null.
Public propertyOldValue
The return value depends on type. For "attributes", it is the value of the changed attribute before the change. For "characterData", it is the data of the changed node before the change. For "childList", it is null.
Public propertyPreviousSibling
Returns the previous sibling of the added or removed nodes, or null.
Public propertyRemovedNodes
Return the nodes removed.
Public propertyTarget
Returns the node the mutation affected, depending on the type. For "attributes", it is the element whose attribute changed. For "characterData", it is the CharacterData node. For "childList", it is the node whose children changed.
Public propertyType
Returns "attributes" if it was an attribute mutation, "characterData" if it was a mutation to a CharacterData node and "childList" if it was a mutation to the tree of nodes.
See Also