Answer the question
In order to leave comments, you need to log in
Vue js object element access?
There is an array in data, in the screenshot its output in the console.
It is not possible to enumerate
{%%} - this is the output template instead of the standard {{ }}
In the console, access is console.log(this.boxes[0].height);
{% box.height %} syntax problem
<ul>
<li v-for="box in boxes">
{% box.height %}
</li>
</ul>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question