Question · Vue.js course · Module 5: Events & Forms
Event object in handler
How do you access the event object in a handler with an argument?
Answer options
- @click="handleClick(event, param)"
- @click="handleClick(e, param)"
- @click="handleClick(this.event, param)"
- @click="handleClick($event, param)"
You can check the correct answer by solving this task in the CodeWorlds game.