Question · Vue.js course · Module 2: Template Syntax
The .stop Modifier
What does the .stop modifier do in v-on?
Answer options
- Calls event.stopPropagation()
- Stops the animation
- Calls event.preventDefault()
- Removes the event listener
Show the answer
Correct answer:
- Calls event.stopPropagation()