Coding task · Vue.js course · Module 14: Directives & Plugins

Practice: Directive with Argument

Create a v-style directive that sets any CSS property based on the argument.

Task

Use binding.arg as the CSS property name and binding.value as the value.