---
title: "MouseEvent constructor"
url: "https://reference.aspose.com/svg/python-net/aspose.svg.dom.events/mouseevent/__init__/"
product: "Aspose.SVG for Python via .NET API References"
---


## __init__ {#str}

Initializes a new instance of the [`MouseEvent`](/svg/python-net/aspose.svg.dom.events/mouseevent) class.



```python
def __init__(self, type):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| type | str | The event type. |



### See Also
* module [`aspose.svg.dom.events`](../../)
* class [`MouseEvent`](/svg/python-net/aspose.svg.dom.events/mouseevent)
