MutationRecord Class

https://dom.spec.whatwg.org/#interface-mutationrecord

public sealed class MutationRecord

Properties

NameDescription
AddedNodesGets the nodes added by the mutation.
AttributeNameGets the local name of the changed attribute, or null.
AttributeNamespaceGets the namespace of the changed attribute, or null.
NextSiblingGets the next sibling of the added or removed nodes, or null.
OldValueGets the previous value of the attribute or of the data when the observer requested it; otherwise null.
PreviousSiblingGets the previous sibling of the added or removed nodes, or null.
RemovedNodesGets the nodes removed by the mutation.
TargetGets the node the mutation affected.
TypeGets the type of the mutation: attributes, characterData or childList.

Gets the nodes added by the mutation.

public NodeList AddedNodes { get; }

AttributeName

MutationObserver.cs

Gets the local name of the changed attribute, or null.

public string? AttributeName { get; }

AttributeNamespace

MutationObserver.cs

Gets the namespace of the changed attribute, or null.

public string? AttributeNamespace { get; }

Gets the next sibling of the added or removed nodes, or null.

public Node? NextSibling { get; }

Gets the previous value of the attribute or of the data when the observer requested it; otherwise null.

public string? OldValue { get; }

PreviousSibling

MutationObserver.cs

Gets the previous sibling of the added or removed nodes, or null.

public Node? PreviousSibling { get; }

Gets the nodes removed by the mutation.

public NodeList RemovedNodes { get; }

Gets the node the mutation affected.

public Node Target { get; }

Gets the type of the mutation: attributes, characterData or childList.

public string Type { get; }