Skip to content
This repository has been archived by the owner on Jun 8, 2020. It is now read-only.

Expose the underlying index, not the virtualized index

Compare
Choose a tag to compare
@jasonmit jasonmit released this 26 Aug 23:14
· 202 commits to master since this release
{{#virtual-each
  height=200
  itemHeight=36
  items=items as |item index|
}}
  <div class="person-row">
    <img src={{item.picture}} />
    <div>
      <div>{{index}} {{item.name.last}}, {{item.name.first}}</div>
      <div class="company">{{item.company}}</div>
    </div>
  </div>
{{/virtual-each}}