.prevent
or event.preventDefault()
– It stops the browsers default behaviour (A example is reload when you hit <button type="submit">
in <form>
)
.stop
or event.stopPropagation()
– It prevents the event from propagating (or “bubbling up”) the DOM
.once
– The event will be triggered at most once