MutationRecord
A MutationRecord represents an individual DOM mutation. It is the object that is passed to MutationObserver's callback.
Properties
Link copied to clipboard
Return the nodes added and removed respectively.
Link copied to clipboard
Returns the local name of the changed attribute, and null otherwise.
Link copied to clipboard
Returns the namespace of the changed attribute, and null otherwise.
Link copied to clipboard
Return the previous and next sibling respectively of the added or removed nodes, and null otherwise.
Link copied to clipboard
Return the previous and next sibling respectively of the added or removed nodes, and null otherwise.
Link copied to clipboard
Return the nodes added and removed respectively.
Link copied to clipboard
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.