ngx-scrollup
v1.0.1
Published
This project is build using Angular 5.x.
Downloads
3
Maintainers
Readme
ngx-scrollup
This project is build using Angular 5.x.
Installation
Use npm install ngx-scrollup
to install it to your project.
In your app.module.ts
Add , import {ScrollupModule} from 'ngx-scrollup'
to add the reference to your project.
Update your import
array like this
@NgModule({
declarations: [
...
],
imports: [
...
ScrollupModule
...
],
providers: [],
bootstrap: [AppComponent]
})
You can give scrollDuration by yourself or default is of 200ms. Example :
<scrollup duration="40"></scrollup>
Feel free to contribute to the project at github Here