Consume the given event, using stopPropagation() if present or returnValue if not, and optionally also calling preventDefault().
stopPropagation()
returnValue
preventDefault()
Event to consume
Optional
Defaults to false, meaning preventDefault() will be invoked on the event. Set to true if you do not wish for that to happen.
Consume the given event, using
stopPropagation()
if present orreturnValue
if not, and optionally also callingpreventDefault()
.