jeudi 23 avril 2015

previous item from collection using each helper

I'm using the each helper and need access to the previous item.

{{#each item in items}}
  {{previous}}
{{/each}}

How can I get the previous item?




Aucun commentaire:

Enregistrer un commentaire