---
title: "stop_immediate_propagation method"
url: "https://reference.aspose.com/html/python-net/aspose.html.dom.events/focusevent/stop_immediate_propagation/"
product: "Aspose.HTML for Python via .NET API References"
---


## stop_immediate_propagation {#}

Invoking this method prevents event from reaching any event listeners registered after the current one and when dispatched in a tree also prevents event from reaching any other objects.



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





### See Also
* module [`aspose.html.dom.events`](../../)
* class [`FocusEvent`](/html/python-net/aspose.html.dom.events/focusevent)
