The stopPropagation() method prevents propagation of the same event from being called. Propagation means bubbling up to parent elements or capturing down to child elements.

Prevents both bubbling up to parent elements and capturing down to child elements. This function calls the stopPropagation() event method if available or cancelBubble() event method.

Syntax

bapi.helper.eventStopPropagation(e)

Parameters

e

The event that was triggered.

Example

bapi.helper.eventStopPropagation(e);