Update Attributes, Classes and Styles in Vue.js with v-bind

Share this video with your friends

Send Tweet

Use v-bind:class and v-bind:style to compute html classes and inline styles from component data. Vue.js will automatically add vendor prefixes when using v-bind:style.