Vue.js · Directive
v-html
Vue directives are special v- attributes that update the DOM from JavaScript expressions. They can use arguments, dynamic arguments, and shorthand forms such as : and @.
Last updated
Syntax
v-directive[:argument][="expression"]
v-bind:attribute="value" // :attribute="value"
v-on:event="handler" // @event="handler"
v-bind:[name]="value" // :[name]="value"In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
v-bind:v-on@v-ifv-htmlv-forv-slot