Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@e-cloud/ngx-virtual-scroll

e-cloud40MIT0.4.2TypeScript support: included

Angular 2 module for virtual -infinite- list. Supports multi-column

virtual scroll, scroll, angular 2

readme

NgxVirtualScroll

This project was generated with Angular CLI version 1.4.1.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

changelog

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.4.2 (2017-12-26)

0.4.1 (2017-11-22)

0.4.0 (2017-11-08)

Features

  • deps: upgrade deps and support Angular 5 (c21fbdd)

0.3.0 (2017-10-12)

Bug Fixes

  • prevent memory leak when component is destroyed (cfdaefa)

Features

  • add attribute selector (4a80fb4)
  • add exportAs to component (06a6060)
  • bufferAmount: add bufferAmount option (fbea7d7)
  • refine the logic and fix a bunch of problems (de024cd)
  • update the project structure with angular-cli and ng-packagr (bb4306e)

Performance Improvements

  • requestAnimationFrame: add a lock logic to refresh method (ae7448f)
  • startupLoop: simplify the startupLoop logic and docs about why (ea5ba42)
  • move frequent style update logic outside ngZone (c0e67dc)

v0.2.2

  • Fixes #94

v0.2.1

  • Added ability to get viewPortItems as a field instead of event
  • Added easier ability of using window scrollbar

v0.2.0

  • Added ability to put other elements inside of scroll (Need to wrap list itself in @ContentChild('container'))
  • Added ability to use any parent with scrollbar instead of this element (@input() parentScroll)

v0.1.8

  • fixes #74
  • fix buffer for scroll to top amount #71

v0.1.7

  • import rxjs operators and object needed instead of RxJS library itself

v0.1.6

  • improve performance by using Observables for scroll event
  • add attribute selector
  • fixes #39 - infinite event loop with empty items array

v0.1.5

  • Bug fix: the data to "jump" once scrolled to the bottom, because maxStart is assumed to be evenly divisible by the number of items in each row. #32

v0.1.4

  • Bug fix: ensure that onScrollListener is actually defined before removing #25

v0.1.3

  • Feature: Add event "start", to be fired when at the beginning of the list
  • Feature: Add event "end", to be fired when at the end of the list
  • Bug Fix: BUG infinite request on (change) - use "end" instead of "change" #20

v0.1.2

  • Feature: Fire change event after startup #21

v0.1.1

  • Bug Fix: Update to lower amount of Elements, scroll issue, empty space on bottom #22

v0.1.0

v0.0.9

v0.0.8

v0.0.7

v0.0.6

  • Updating documentation

v0.0.5

v0.0.4

  • BREAKING CHANGE: Removed marginX and marginY. These are auto calculated now.
  • Added support for list items with variable width and height. Use childWidth and childHeight
  • Performance turning: removed padding using height. Now uses transform.

v0.0.3

  • Bug fix: virtual-scroll.js:73 Uncaught ReferenceError: __decorate is not defined #1

v0.0.2

  • Initial version