@christophhu/ngx-scroll-indicator
v19.2.0
Published
Library for Angular to add a scrolling-indicator.
Downloads
6
Maintainers
Readme
Ngx-Scroll-Indicator
Frameworks and Languages
Demo
Description
This Repository contains a simple Angular library to display a scroll indicator at the bottom of the page. The user can scroll to the top of the page by clicking on the indicator. The indicator is displayed the hole time as an animation, that the user cann scroll down. At the bottom of the page, the indicator is displayed as a button to scroll to the top. The library is easy to use and can be installed via npm.
Installation
npm i @christophhu/ngx-scroll-indicatorUse
With default toggle
<ngx-scroll-indicator [distanceToTop]="500"></ngx-scroll-indicator>import { NgxScrollIndicatorComponent } from "@christophhu/ngx-scroll-indicator";
@Component({
...
imports: [
NgxScrollIndicatorComponent
]
})
export class TestComponent {
constructor() {}
}