ng-scroll-indicator
TypeScript icon, indicating that this package has built-in type declarations

0.0.8 • Public • Published

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
      <scroll-indicator [color]="'red'"></scroll-indicator>
    or
      <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
      <scroll-indicator [backgroundColor]="'lightGrey'"></scroll-indicator>
    or
      <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
      <scroll-indicator [height]="'15px'"></scroll-indicator>
    or
      <scroll-indicator [height]="'0.7rem'"></scroll-indicator>

Package Sidebar

Install

npm i ng-scroll-indicator

Weekly Downloads

1

Version

0.0.8

License

none

Unpacked Size

58.2 kB

Total Files

26

Last publish

Collaborators

  • divesh.panwar