IMutationRecord
MutationRecord defines an interface that will be passed to the
observer's callback.
Gets the nodes added, or null.
Gets the local name of the changed attribute, or null.
Gets the namespace of the changed attribute, or null.
Gets the next sibling of the added or removed nodes, or null.
Gets the previous sibling of the added or removed nodes, or null.
Gets a string depending on the 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.
Gets the nodes removed, or null.
Gets 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.
Gets attributes if the mutation 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.