
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
virtual-each
Advanced tools
A direct port of react-infinite-list to Ember. This was created as a benchmark exercise.
This component will only ever render DOM nodes for what can fill the view port. Using the power of Glimmer, it will reuse the DOM nodes it's already created and swap out the content as the user scrolls.
If you want a more flexible virtualization component, please try ember-collection.
ember install virtual-each
{{#virtual-each items
height=200
itemHeight=36
onScrollBottomed=(action 'handlePageBottom')
positionIndex=0
as |item actualIndex virtualIndex|
}}
<div class="person-row">
<img src={{item.picture}} />
<div>
<div>{{actualIndex}}. {{item.name.last}}, {{item.name.first}}</div>
<div class="company">{{item.company}}</div>
</div>
</div>
{{else}}
<strong>No results</strong>
{{/virtual-each}}
height: fixed height of the component (required)itemHeight: fixed row height (required)onScrollBottomed: invoked when scrolled to the bottom of the list (optional)positionIndex: start at or scroll to a specific item based on the item index (optional)Add the following CSS snippet to styles/app.css:
.virtual-each {
overflow-y: auto;
}
.infinite-list-content {
list-style: none;
margin: 0;
padding: 0;
}
itemHeight, or defining a less-than expected height, will result in unexpected jumping behavior during scrolling. itemHeight should be set to exact height of a row.
git clone this repositorynpm installbower installember serverember testember test --serverFAQs
A port of react-infinite-list to Ember.
The npm package virtual-each receives a total of 293 weekly downloads. As such, virtual-each popularity was classified as not popular.
We found that virtual-each demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.