Answers for "v-for i down"

1

v-for i down

<li v-for="item in items.slice().reverse()">
//do something with item ...
</li>
Posted by: Guest on December-16-2020
0

v-for i down

<div id="app">
    <template v-for="n in 10"><p>{{ 10 - (n-1) }}</p></template>
</div>
Posted by: Guest on January-02-2021

Browse Popular Code Answers by Language