EventStopPropagation Method |
The StopPropagation method is used prevent further propagation of an event during event flow.
Namespace: Aspose.Html.Dom.EventsAssembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.3
Syntaxpublic void StopPropagation()
Public Sub StopPropagation
public:
void StopPropagation()
member StopPropagation : unit -> unit
Remarks
If this method is called by any
IEventListener the event will cease propagating through the tree.
The event will complete dispatch to all listeners on the current
IEventTarget before event flow stops.
This method may be used during any stage of event flow.
See Also