Question · Vue.js course · Module 3: Reactivity

Ref in template

How do you use a ref variable in the template?

Answer options

  • {{ variable.value }}
  • {{ $variable }}
  • {{ variable }}
  • {{ ref(variable) }}

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