MutationObserverInit Class

https://dom.spec.whatwg.org/#dictdef-mutationobserverinit

public sealed class MutationObserverInit

Constructors

NameDescription
MutationObserverInit()

MutationObserverInit()

public MutationObserverInit()

No documentation is available.

Properties

NameDescription
AttributeFilterGets or sets the local names of the attributes to observe; all the attributes are observed when null.
AttributeOldValueGets or sets a value indicating whether the previous value of the changed attribute is recorded.
AttributesGets or sets a value indicating whether the attribute changes of the target are observed (implied when attributeOldValue or attributeFilter is set).
CharacterDataGets or sets a value indicating whether the data changes of the target are observed (implied when characterDataOldValue is set).
CharacterDataOldValueGets or sets a value indicating whether the previous data of the changed node is recorded.
ChildListGets or sets a value indicating whether additions and removals of the children of the target are observed.
SubtreeGets or sets a value indicating whether the descendants of the target are observed too.

AttributeFilter

MutationObserver.cs

Gets or sets the local names of the attributes to observe; all the attributes are observed when null.

public IReadOnlyList<string>? AttributeFilter { get; set; }

AttributeOldValue

MutationObserver.cs

Gets or sets a value indicating whether the previous value of the changed attribute is recorded.

public bool? AttributeOldValue { get; set; }

Gets or sets a value indicating whether the attribute changes of the target are observed (implied when attributeOldValue or attributeFilter is set).

public bool? Attributes { get; set; }

CharacterData

MutationObserver.cs

Gets or sets a value indicating whether the data changes of the target are observed (implied when characterDataOldValue is set).

public bool? CharacterData { get; set; }

CharacterDataOldValue

MutationObserver.cs

Gets or sets a value indicating whether the previous data of the changed node is recorded.

public bool? CharacterDataOldValue { get; set; }

Gets or sets a value indicating whether additions and removals of the children of the target are observed.

public bool ChildList { get; set; }

Gets or sets a value indicating whether the descendants of the target are observed too.

public bool Subtree { get; set; }