oldValue

The oldValue JS MutationRecord return value depends on 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.

Syntax

record.oldValue

Examples

addedNodes

attributeName

attributeNamespace

nextSibling

previousSibling

removedNodes

target

type

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu