MutationRecord

The MutationRecord is a read-only interface that represents an individual DOM mutation observed by a MutationObserver.

MDN Reference

Properties

Link copied to clipboard

The MutationRecord read-only property addedNodes is a NodeList of nodes added to a target node by a mutation observed with a MutationObserver.

Link copied to clipboard

The MutationRecord read-only property attributeName contains the name of a changed attribute belonging to a node that is observed by a MutationObserver.

Link copied to clipboard

The MutationRecord read-only property attributeNamespace is the namespace of the mutated attribute in the MutationRecord observed by a MutationObserver.

Link copied to clipboard

The MutationRecord read-only property nextSibling is the next sibling of an added or removed child node of the target of a MutationObserver.

Link copied to clipboard

The MutationRecord read-only property oldValue contains the character data or attribute value of an observed node before it was changed.

Link copied to clipboard

The MutationRecord read-only property previousSibling is the previous sibling of an added or removed child node of the target of a MutationObserver.

Link copied to clipboard

The MutationRecord read-only property removedNodes is a NodeList of nodes removed from a target node by a mutation observed with a MutationObserver.

Link copied to clipboard

The MutationRecord read-only property target is the target (i.e., the mutated/changed node) of a mutation observed with a MutationObserver.

Link copied to clipboard

The MutationRecord read-only property type is the type of the MutationRecord observed by a MutationObserver.