It seems that the @index
variable of Handlebars’ {{#each}}
helper isn’t yet implemented in Ember.Handlebars. Does anyone know when it will be available in Ember and what is the best solution to use until then?
Thank you very much in advance! Regards,
David
This works for me (within my child template):
<div {{bindAttr index="view._parentView.contentIndex"}}>
</div>
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