src code

instance method Event#stop

Event#stop() → undefined

Stops the event's propagation and prevents its eventual default action from being triggered.

Stopping an event also sets a stopped property on that event for future inspection.

This method can be called either as an instance method or as a generic method. If calling as a generic, pass the instance in as the first argument.