A Guide to Custom Directives in Vue

added by JavaScript Kicks
3/13/2019 5:59:03 AM

377 Views

A directive generally is some special token in the markup that tells the library to do something to a DOM element. In Vue, the concept of directive is drastically simpler than that in Angular. A Vue directive can only appear in the form of a prefixed HTML attribute.


0 comments