Question · Vue.js course · Module 7: Props & Events

v-model on a component

What is v-model on a custom component?

Answer options

  • Only for HTML forms
  • A shorthand for :modelValue and @update:modelValue
  • Only one-way binding
  • It does not work on components

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