ng-scroll-indicator
v0.0.8
Published
## Description This library adds a horizontal scrollbar to the top of the webpage.
Downloads
13
Maintainers
Readme
NG-Scroll-Indicator
Description
This library adds a horizontal scrollbar to the top of the webpage.
Installation
npm install ng-scroll-indicator
Usage
<scroll-indicator></scroll-indicator>
Options
- color:
This option helps user to set the color of the scrollbar, it will take string as value.
Usage
or<scroll-indicator [color]="'red'"></scroll-indicator>
<scroll-indicator [color]="'#333'"></scroll-indicator>
- backgroundColor:
This option helps user to set the background color of the scrollbar, it will take string as value.
Usage
or<scroll-indicator [backgroundColor]="'lightGrey'"></scroll-indicator>
<scroll-indicator [backgroundColor]="'#333'"></scroll-indicator>
- height:
This option helps user to set the height of the scrollbar, it will take string as value.
Usage
or<scroll-indicator [height]="'15px'"></scroll-indicator>
<scroll-indicator [height]="'0.7rem'"></scroll-indicator>