Event.stopImmediatePropagation - Web documentation
method Event.stopImmediatePropagation
Event.stopImmediatePropagation(): void

Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects.

Return Type

void