MutationObserverInit Class
MutationObserverInit class
This class represents an options collection which is used to configure MutationObserver
.
public class MutationObserverInit : IDictionary<String, object>
Constructors
Properties
Name | Description |
---|
[getAttributeFilter] | |
[setAttributeFilter] Set to a list of attribute local names (without package) if not all attribute mutations need to be observed and attributes is true or omitted. | |
[getAttributeOldValue] | |
[setAttributeOldValue] Set to true if attributes is true or omitted and target’s attribute value before the mutation needs to be recorded. | |
[getAttributes] | |
[setAttributes] Set to true if mutations to target’s attributes are to be observed. Can be omitted if attributeOldValue and/or attributeFilter is specified. | |
[getCharacterData] | |
[setCharacterData] Set to true if mutations to target’s data are to be observed. Can be omitted if characterDataOldValue is specified | |
[getCharacterDataOldValue] | |
[setCharacterDataOldValue] Set to true if characterData is set to true or omitted and target’s data before the mutation needs to be recorded. | |
[getChildList] | |
[setChildList] Set to true if mutations to target’s children are to be observed. | |
getCount Gets the number of key/value pairs contained in the MutationObserverInit collection. | |
getIsReadOnly Determines whether the MutationObserverInit collection is mutable. | |
[getItem] | |
[setItem] Gets or sets the element with the specified key. | |
getKeys Gets a collection containing the keys in the MutationObserverInit collection. | |
[getSubtree] | |
[setSubtree] Set to true if mutations to not just target, but also target’s descendants are to be observed | |
getValues Gets a collection containing the values in the MutationObserverInit collection. | |
Methods
Name | Description |
---|
add(KeyValuePair<String, object>) | |
add(String, object) | Adds the specified key and value to the MutationObserverInit collection. |
clear() | Removes all the elements from the MutationObserverInit collection. |
contains(KeyValuePair<String, object>) | |
containsKey(String) | Determines whether the MutationObserverInit collection contain a specified key. |
copyTo(KeyValuePair<String, object>[], int) | |
getEnumerator() | Returns an enumerator that iterates through the MutationObserverInit elements. |
remove(KeyValuePair<String, object>) | |
remove(String) | Removes the value associated with the specified key from the MutationObserverInit collection. |
tryGetValue(String, out object) | Gets the value associated with the specified key. |
See Also