aacha-wala-scroll-for-angular
v1.4.0
Published
Display an horizontal scrollbar at the bottom of the window if a div overflows the window height in your Angular 2+ application.
Downloads
4
Readme
Floating scrollbar for Angular 2+
Package for floating scrollbar that can be used with Angular 2 and above
Usage
<div id="container" style="width: 300px; overflow:auto;">
<div id="content" style="width: 2000px; height: 2000px; background-color: #ccc;">
<p>
Hello world
</p>
</div>
</div>
ngAfterViewInit(){
customScrollBar.scroll(document.getElementById("container"));
}
Technologies
Author
- PRABHAT GIRI ([email protected])
License
This project is licensed under the MIT License - see the LICENSE.md file for details