stopPropagation

fun stopPropagation(): StopPropagation

StopPropagation will not only prevent default actions but stops propagation altogether so the event won't reach any other listener.

Return this object if you acted on an event and you don't want any other listeners to have the chance of handling it.

Sources

(source)
Link copied to clipboard