Return the nodes added.
Return the nodes added. Will be an empty NodeList if no nodes were added.
MDN
Returns the local name of the changed attribute, or null.
Returns the local name of the changed attribute, or null.
MDN
Returns the namespace of the changed attribute, or null.
Returns the namespace of the changed attribute, or null.
MDN
Return the next sibling of the added or removed nodes, or null.
Return the next sibling of the added or removed nodes, or null.
MDN
The return value depends on the type.
The return value depends on the type. For attributes, it is the value of the changed attribute before the change. For characterData, it is the data of the changed node before the change. For childList, it is null.
MDN
Return the previous sibling of the added or removed nodes, or null.
Return the previous sibling of the added or removed nodes, or null.
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