
Plans from $25/month
This lesson is for members. Join us?
Subscribe now to get instant access to this course, plus a full library of Vue.js courses tailored to the plan you choose.
🚧 PLEASE NOTE: An updated version of this course is available! see the Vue.js 3 Custom Directives course. This course is outdated!
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.
Reusable Directives
2 lessons • 3 minNEXT CHAPTER
Directive Hooks2 lessons • 3 min
