Return the nodes added.
Return the nodes added. Will be an empty NodeList if no nodes were added.
MDN
Return the nodes removed.
Return the nodes removed. Will be an empty NodeList if no nodes were removed.
MDN
Returns the node the mutation affected, depending on the type.
Returns 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.
MDN
Returns 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.
Returns 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.
MDN
MutationRecord is the object that will be passed to the observer's callback. It has the following properties:
MDN