Question · Vue.js course · Module 2: Template Syntax

Purpose of v-bind

What is the v-bind directive used for?

Answer options

  • Creating loops
  • Conditional rendering
  • Binding HTML attributes to data
  • Handling DOM events
Show the answer

Correct answer:

  • Binding HTML attributes to data