Question · Vue.js course · Module 5: Events & Forms

v-model as a shorthand

v-model is a shorthand for which combination?

Answer options

  • :model="var" @change="var"
  • :value="var" @input="var = $event.target.value"
  • v-bind:value="var" v-on:blur="var"
  • :data="var" @update="var"

You can check the correct answer by solving this task in the CodeWorlds game.