Question · Vue.js course · Module 14: Directives & Plugins

Directive argument

What does binding.arg return in the directive v-style:color="'red'"?

Answer options

  • String 'red'
  • Object { color: 'red' }
  • String 'style'
  • String 'color'

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