I'm trying to figure out whether there's a way to get my position during a looped render using {{#each}}. Hacking at the source, there doesn't appear to be an easy way to do it - but that may be simply a result of my inability to trace well through the code.
Asked
Active
Viewed 332 times
1 Answers
1
contentIndex will be set on the view on creation but will NOT be updated as the array mutates.

Christopher Swasey
- 10,392
- 1
- 31
- 25
-
Is there any way to force it to update? This is exactly what I'm trying to do... – Emerson Oct 01 '13 at 02:17
-
https://github.com/emberjs/ember.js/pull/4095 – merlin Feb 19 '14 at 09:57