In this project you can find source code to learn that how to implement infinite scroll using angular 6
- Install npm packages using 'npm install' command.
Visit: https://ngx-infinite-scroll-master.herokuapp.com/
Within the download you'll find the following directories and files, logically grouping common assets and providing both compiled and minified variations. You'll see something like this:
# clone the repo
$ git clone https://github.com/Istiaq-Hossain-Shawon/ngx-infinite-scroll-master.git
# go into app's directory
$ cd ngx-infinite-scroll-master
# install dependencies
npm install
npm install ngx-infinite-scroll --save
npm install @angular/cdk
# serve with hot reload at localhost:4200
ng serve
# build for production with minification
ng build
Step 1: Find the connection’s PID
> netstat -ano | findstr :yourPortNumber
Then locate the PID (something like 10764)
Step 2: Kill the process using it’s PID
> tskill yourPID
Step 3: Restart your server