Two separate event
object methods exist for stopping an event: event.stopPropagation()
and event.stopImmediatePropagation()
. This lesson will explain the differences between these two functions as well as cautioning you about some dangers in stopping events.