MutationObserverInit Class
https://dom.spec.whatwg.org/#dictdef-mutationobserverinit
public sealed class MutationObserverInitConstructors
| Name | Description |
|---|---|
| MutationObserverInit() |
MutationObserverInit()
public MutationObserverInit()No documentation is available.
Properties
| Name | Description |
|---|---|
| AttributeFilter | Gets or sets the local names of the attributes to observe; all the attributes are observed when null. |
| AttributeOldValue | Gets or sets a value indicating whether the previous value of the changed attribute is recorded. |
| Attributes | Gets or sets a value indicating whether the attribute changes of the target are observed (implied when attributeOldValue or attributeFilter is set). |
| CharacterData | Gets or sets a value indicating whether the data changes of the target are observed (implied when characterDataOldValue is set). |
| CharacterDataOldValue | Gets or sets a value indicating whether the previous data of the changed node is recorded. |
| ChildList | Gets or sets a value indicating whether additions and removals of the children of the target are observed. |
| Subtree | Gets or sets a value indicating whether the descendants of the target are observed too. |
AttributeFilter
MutationObserver.csGets 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.csGets or sets a value indicating whether the previous value of the changed attribute is recorded.
public bool? AttributeOldValue { get; set; }Attributes
MutationObserver.csGets 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.csGets 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.csGets or sets a value indicating whether the previous data of the changed node is recorded.
public bool? CharacterDataOldValue { get; set; }Property value
See also
ChildList
MutationObserver.csGets or sets a value indicating whether additions and removals of the children of the target are observed.
public bool ChildList { get; set; }Subtree
MutationObserver.csGets or sets a value indicating whether the descendants of the target are observed too.
public bool Subtree { get; set; }