I am quite new to Vue and I have an issue. I have an array of objects and I want the wrapper of the loop to have dynamic className For example
<div v-for="({time, date, name}, i) in myObject" :key="i" class="my-custom-class">
well, if the key (i) is greater than 3 then I want the className to have a different name or at least to add an extra name (like hiddenDiv).
I know is not possible to add the v-if condition in the v-for statement. Any help is appreciated.