Documentation - v7.17.0
    Preparing search index...

    Interface CharacterDataMutationRecord

    A mutation record describing a change to the text content of a CharacterData node (text, comment, CDATA section).

    interface CharacterDataMutationRecord {
        oldValue: string | null;
        target: Node;
        type: "characterData";
    }
    Index
    oldValue: string | null

    The node data before the change, if the observer requested it (characterDataOldValue); null otherwise. Always null for records from createDOMMutationObservable.

    target: Node

    The node whose data changed.

    type: "characterData"

    Discriminant of the MutationRecord union.