Click in order · Vue.js course · Module 2: Template Syntax

v-on Syntax with Argument

Arrange the click handling syntax with an argument:

Items to click

  • @click=
  • <button
  • >
  • "sendSignal('ALPHA')"
Show the answer

Correct order:

  1. <button
  2. @click=
  3. "sendSignal('ALPHA')"
  4. >