I'm new with Vue.js. I want to target a value inside of html element - for example div. That particular element has a values from array of objects and the line is in the shape of <div>{{array.value}}</div>. I also applied a v-for directive, so it looks like this:
<ul v-for="(arr, index) in array"
v-bind:key="index">
<div id="el">{{arr.value}}</div>
</ul>
So, I want to target that {{arr.value}} in the same way I would use document.getElementById("el").value and use that different values (given with v-for) to compare with other equal values (in similar way like it's done in search engines).
How to do that in this situation?