
## add {#str-any}

Adds the specified key and value to the [`MutationObserverInit`](/html/python-net/aspose.html.dom.mutations/mutationobserverinit) collection.



```python
def add(self, key, value):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| key | str | The key of the element to add. |
| value | any | The value of the element to add. |



### See Also
* module [`aspose.html.dom.mutations`](../../)
* class [`MutationObserverInit`](/html/python-net/aspose.html.dom.mutations/mutationobserverinit)
