Answer the question
In order to leave comments, you need to log in
How to use v-for backwards for numbers?
Hello, we can use or use a filter
But what about numbers, for example, I need to display numbers from 10 to 0v-for="(num, inx) of myArray.slice().reverse()"
v-for="item in myArray | reverse"
<div v-for="(num, inx) of 10">inx</div> //ето выводит от 0 до 10 а мне нужно наоборот...
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