dispatch_event method
dispatch_event
This method allows the dispatch of events into the implementations event model.
Returns
The return value of EventTarget.dispatch_event
indicates whether any of the listeners which handled the event called Event.prevent_default
.
If Event.prevent_default
was called the value is false, else the value is true.
def dispatch_event(self, event):
...
Parameter | Type | Description |
---|---|---|
event | aspose.svg.dom.events.Event | Specifies the event type, behavior, and contextual information to be used in processing the event. |
Remarks
Events dispatched in this manner will have the same capturing and bubbling behavior as events dispatched directly by the implementation.
The target of the event is the EventTarget
on which EventTarget.dispatch_event
is called.### Exceptions
Exception | Description |
---|---|
DOMException |
See Also
- module
aspose.svg
- class
DOMException
- class
EventTarget
- class
SVGStyleElement