Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial
Learn Vue.js with Vue School #1 SOURCE OF VUE.JS KNOWLEDGE

Custom Vue Directives

Get access to this course, 10 others, and future Vue.js courses!

Start Learning

Already got an account? Log in

Directive's Argument

Custom Vue.js directives support up to one argument. The argument, in this case slow, is specified with the colon v-switch-color:slow.

In this lesson, we're learning how we to create a speed argument for our custom directive.