1.0.1 • Published 6 years ago

ngx-auto-smooth-scrolldown v1.0.1

Weekly downloads
9
License
-
Repository
-
Last release
6 years ago

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>