stop_propagation method

stop_propagation

The Event.stop_propagation method is used prevent further propagation of an event during event flow.

def stop_propagation(self):
    ...

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