Categories
How to substitute value from data() directly to style?
It is necessary to substitute the value from pixels here How can I do it exactly through the value of pixels without using methods. <img style="border: white {pixels}px solid;" />
<img style="border: white {pixels}px solid;" />
Answer the question
In order to leave comments, you need to log in
v-bind:style="{ border: ['white', pixels+'px', 'solid'] }
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question