Answer the question
In order to leave comments, you need to log in
How to put the name of the classes?
I want to pass numbers in props how to do it?
:class="{'col-lg-' + colLg,'col-md-' + colMd, colLg,'col-sm-' + colSm,'col-xs-' + colXs}"
Answer the question
In order to leave comments, you need to log in
Template strings: https://developer.mozilla.org/ru/docs/Web/JavaScri...
Or make a computed property that will return a string.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question