Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MutationRecord

Hierarchy

  • MutationRecord

Index

Properties

addedNodes

addedNodes: NodeList

attributeName

attributeName: string | null

Returns the local name of the changed attribute, and null otherwise.

attributeNamespace

attributeNamespace: string | null

Returns the namespace of the changed attribute, and null otherwise.

nextSibling

nextSibling: Node | null

Return the previous and next sibling respectively of the added or removed nodes, and null otherwise.

oldValue

oldValue: string | null

The 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.

previousSibling

previousSibling: Node | null

removedNodes

removedNodes: NodeList

Return the nodes added and removed respectively.

target

target: Node

type

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.

Generated using TypeDoc