Vue.js Developers
Published in

Vue.js Developers

Creating Custom Directives in Vue.js

Photo by Estée Janssens on Unsplash

Directives are special attributes with the v- prefix. A directive’s job is to reactively apply side effects to the DOM when the value of its expression changes. Vue.js provides a wide range of directives for you to use. You have probably already used the v-if, v-repeat, v-model and v-show directives.

In this article, I am going to explain the parts of a directive and what is available to use. Then I…




Helping web professionals up their skill and knowledge of Vue.js

Recommended from Medium

A Sneak Peek at React Router Fundamentals

Keyboard Input of Date and Time According to Language Conventions

React Redux tutorials for beginners-2

How Vue data flow works — A practical example

Basic web app with Django

7 newsletters to stay current about JavaScript

React in a Junior Developers perspective

SVG map of Indian states using D3.js in Angular(2–10)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jennifer Bland

Jennifer Bland

Software Engineer. Google Developers Expert. Keynote Speaker. Entrepreneur. Mountain Climber. Neil Diamond fan. World traveler. &

More from Medium

Random User Generator with API + Vue.js

Express || NodeJs vs ASP .NET: What to Choose in 2022?

Vue | Vuetify -> How to vertically align a <v-select> in a <v-data-table>cell

How to deploy Vue sites on Fathym