Closed zzzzBov closed 2 years ago
animated-each yields both the item and the item's index
animated-each
source:
{{#each this.renderedChildren key="id" as |child|}} <-EaListElement @child={{child}} @elementToChild={{this._elementToChild}}> {{~yield child.value child.index~}} </-EaListElement> {{else}} {{~yield to="inverse"~}} {{/each}}
animated-each
yields both the item and the item's indexsource: