Return the nodes added.
Return the nodes added. Will be an empty NodeList if no nodes were added.
Returns the local name of the changed attribute, or null.
Returns the namespace of the changed attribute, or null.
Return the next sibling of the added or removed nodes, or null.
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.
Return the previous sibling of the added or removed nodes, or null.
Return the nodes removed.
Return the nodes removed. Will be an empty NodeList if no nodes were removed.
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.
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.
MutationRecord is the object that will be passed to the observer's callback. It has the following properties: