cancelPropagation

Marks the event's propagation as cancelled.

Calling this method sets the propagationCancelled property to true. This serves as an indication that the event has been handled and should not be processed further by other event listeners.

It is important to note that cancelling propagation is only a suggestion, and all event listeners should check the status of propagationCancelled to determine if the event has already been consumed.

See also