Skip to main content
100%

Ember Virtual List Component

✓ Published0🌍 Public
RRandomEtc
Last edited Feb 11, 2016
Created on Feb 11, 2016

This example demonstrates a virtual scrolling list built with Ember.js that efficiently renders only the visible subset of a 1000-item dataset. The component tracks the scroll container's offset, calculates which rows fall within the viewport, and positions them absolutely inside a taller spacer div that represents the full list height. The rendered rows are green rectangular bars with white borders and text labels, styled via custom CSS classes. Debug information displays live scroll offset, visible element count, and computed start/end indices, using Ember's Handlebars templating and component lifecycle hooks like `didInsertElement` and property bindings.

AI-generated description

Similar vizzes