files/en-us/web/api/mutationrecord/index.md
{{APIRef("DOM")}}
The MutationRecord is a read-only interface that represents an individual DOM mutation observed by a {{domxref("MutationObserver")}}. It is the object inside the array passed to the callback of a {{domxref("MutationObserver")}}.
null.null.null.attributes, it is the value of the changed attribute before the change.characterData, it is the data of the changed node before the change.childList, it is null.null.MutationRecord.type.
attributes, it is the element whose attribute changed.characterData, it is the CharacterData node.childList, it is the node whose children changed.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.{{Specifications}}
{{Compat}}