write v-for like this for(i=10; i>0 ; i--)
How i can write this with v-for ?
Hi probably only with computed field with array reverse
V-for="index in 10"
TY how can i used _this in computed
if you will use computed, while (i--) would perform better
in computed i cant use this to access my data() values How can i used this in computed?
this.somethingInData
I mean something like computed: { reverseItems() { return this.items.slice().reverse(); } }
Обсуждают сегодня