type

The type JS MutationRecord 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.

Syntax

record.type

Examples

addedNodes

attributeName

attributeNamespace

nextSibling

oldValue

previousSibling

removedNodes

target

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu