Answer the question
In order to leave comments, you need to log in
How to render a list with custom style in vue.js?
There is a list in which one of the columns should change its class depending on the condition, how to do it?
<tr v-for="tick in ticket">
<td>${ tick.title }</td>
<td>${ tick.priority }</td>
<td v-if="tic.closed" class="P2CL2TBTDesc">
${ tick.description }
</td>
<td v-else class="P2CL2TBTDesc asc">
${ tick.description }
</td>
</tr>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question