Documentation - v7.17.0
    Preparing search index...

    Interface AttributesMutationRecord

    A mutation record describing a change to an attribute of an element.

    interface AttributesMutationRecord {
        attributeName: string;
        oldValue: string | null;
        target: Element;
        type: "attributes";
    }
    Index
    attributeName: string

    The local name of the changed attribute.

    oldValue: string | null

    The attribute value before the change, if the observer requested it (attributeOldValue); null otherwise or if the attribute was absent. Always null for records from createDOMMutationObservable.

    target: Element

    The element whose attribute changed.

    type: "attributes"

    Discriminant of the MutationRecord union.