In view when you have an array you can use the following to get some object and then use it withing that tag.
<div v-for="f in filters">
{f.minValue}
</div>
<script>
{
data: {
filters:[{minValue: "6"},{minValue: "10"}]
}
}
</script>
Is there an equivalent for just defining an object? e.g.
<div :SOMETHING="filter.filterBetween as tempObject">
{tempObject.minValue}
</div>
{
data: {
filter:{
filterBetween:{
minValue: "6",
maxValue: "10"
}
}
}
}
</script>
Have had a look around but not able to find anything or I'm using the wrong wording to looks for it.
Thanks in advance