var plain_array = [1, 2, 3, 4, 5, 6, 7]
How can I show all elements in Meteor Handlebars?
{{#each plain_array}} # What to put here to get the elements? {{/each}}
(This question is similar: handlebars: how to access an array? but not the same as the other question presumes an array of objects.)
From Handlebars documentation.
{{#each people}} <li>{{this}}</li> {{/each}}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With