---
title: "clear method"
url: "https://reference.aspose.com/svg/python-net/aspose.svg.dom.mutations/mutationobserverinit/clear/"
product: "Aspose.SVG for Python via .NET API References"
---


## clear {#}

Removes all the elements from the [`MutationObserverInit`](/svg/python-net/aspose.svg.dom.mutations/mutationobserverinit) collection.



```python
def clear(self):
    ...
```





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