Reading the Vue documentation about events, they mention the event modifiers like prevent or stop. They mention that on stop: <!-- the click event's propagation will be stopped -->
. I am assuming this will stop the event from bubbling. What about prevent
. What does it exactly do? I am assuming it will prevent the event from being triggered twice (on a double click for example). Are these assumptions correct? I just couldn't find more specific info on the web.
What I read:
- https://vuejs.org/v2/guide/events.html
- How to prevent/stop propagation of default event (click) in directive (vue 2.x)