ember-gridlist
An addon for building efficient lists and grids for large data workloads in an Ember.js app.
Usage
Installation
ember install @abcum/ember-gridlist
Introduction
The ember-gridlist addon adds functionality for working with lists and grids, enabling efficient incremental rendering of large numbers of items in list or grid format, with single click or double click support, and multi-selection support, whilst at the same time re-rendering when the viewport is resized. Each list or grid will display only the necessary number of items to fill the desired layout, rendering other items as and when they are scrolled into view.
Examples
Add a basic list view.
Or assign a custom class to each item.
Or use a separate template for the items.
And perform an action when an item is clicked.
And perform an action when an item is double-clicked.
Or add a grid view with a predetermined width and height for each item.
Development
-
make install
(install bower and ember-cli dependencies) -
make upgrade
(upgrade ember-cli to the specified version) -
make tests
(run all tests defined in the package)