ngx-auto-smooth-scrolldown
v1.0.1
Published
npm install ngx-auto-smooth-scrolldown
Downloads
4
Readme
Angular 2+ Auto Smooth Scroll Down Directive - Library
Installation
npm install ngx-auto-smooth-scrolldown
Usage
In module:
import { NgxAutoSmoothScrollDownModule } from 'ngx-auto-smooth-scrolldown';
@NgModule({
...
imports: [
...
NgxAutoSmoothScrollDownModule,
...
],
...
})
export class AppModule { }
In template:
<div class="messages" ngx-auto-smooth-scrolldown lock-y-offset="100">
<div *ngFor="let item of items">...</div>
</div>