Vue.js Fundamental -  Style bindings -  Part 1 of 2 (15)

Vue.js Fundamental - Style bindings - Part 1 of 2 (15)

TutsPrime

3 года назад

18 Просмотров

The style binding is a mechanism for dynamically applying one or more css style definitions to a particular element.

To do so we can use the v-bind:style directive then pass an argument, or we can use the shorthand syntax just :style then pass in the argument.
Ссылки и html тэги не поддерживаются


Комментарии: