Vue.js 3 Custom Directives
Plans from $25/month

This lesson is for members. Join us?

Subscribe now and get immediate access to this course, 30 more and all future Vue.js courses!

Vue.js Custom Directive Argument

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

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