MutationRecord
The MutationRecord
is a read-only interface that represents an individual DOM mutation observed by a MutationObserver.
Properties
The MutationRecord read-only property addedNodes
is a NodeList of nodes added to a target node by a mutation observed with a MutationObserver.
The MutationRecord read-only property attributeName
contains the name of a changed attribute belonging to a node that is observed by a MutationObserver.
The MutationRecord read-only property attributeNamespace
is the namespace of the mutated attribute in the MutationRecord observed by a MutationObserver.
The MutationRecord read-only property nextSibling
is the next sibling of an added or removed child node of the target
of a MutationObserver.
The MutationRecord read-only property previousSibling
is the previous sibling of an added or removed child node of the target
of a MutationObserver.
The MutationRecord read-only property removedNodes
is a NodeList of nodes removed from a target node by a mutation observed with a MutationObserver.
The MutationRecord read-only property type
is the type of the MutationRecord observed by a MutationObserver.