MutationObserverInit
MutationObserverInit class
This class represents an options collection which is used to configure MutationObserver
.
public class MutationObserverInit : IDictionary<string, object>
Constructors
Properties
Name |
Description |
AttributeFilter { get; set; } |
Set to a list of attribute local names (without namespace) if not all attribute mutations need to be observed and attributes is true or omitted. |
AttributeOldValue { get; set; } |
Set to true if attributes is true or omitted and target’s attribute value before the mutation needs to be recorded. |
Attributes { get; set; } |
Set to true if mutations to target’s attributes are to be observed. Can be omitted if attributeOldValue and/or attributeFilter is specified. |
CharacterData { get; set; } |
Set to true if mutations to target’s data are to be observed. Can be omitted if characterDataOldValue is specified |
CharacterDataOldValue { get; set; } |
Set to true if characterData is set to true or omitted and target’s data before the mutation needs to be recorded. |
ChildList { get; set; } |
Set to true if mutations to target’s children are to be observed. |
Count { get; } |
Gets the number of key/value pairs contained in the MutationObserverInit collection. |
IsReadOnly { get; } |
Determines whether the MutationObserverInit collection is mutable. |
Item { get; set; } |
Gets or sets the element with the specified key. |
Keys { get; } |
Gets a collection containing the keys in the MutationObserverInit collection. |
Subtree { get; set; } |
Set to true if mutations to not just target, but also target’s descendants are to be observed |
Values { get; } |
Gets a collection containing the values in the MutationObserverInit collection. |
Methods
See Also