stopPropagation

The stopPropagation JS Event when dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object.

Syntax

event.stopPropagation()

Examples

HomeMenu