The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

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

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

1:17
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`.
Watch this lesson now
Avatar
egghead.io

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.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?