Put in order · Vue.js course · Module 2: Template Syntax
v-on Syntax with Method
Arrange the correct v-on syntax for handling a click:
Items to put in order
- handleClick
- v-on:click="
- <button
- ">Click</button>
Show the answer
Correct order:
- <button
- v-on:click="
- handleClick
- ">Click</button>