angular-progress-bar-sm
TypeScript icon, indicating that this package has built-in type declarations

1.1.8 • Public • Published

Angular Progress Bar SM

Stylish animated progress bar

Angular Progress Bar SM Angular Progress Bar SM
Angular Progress Bar SM

Make it Animated by below mentioned code

Angular Progress Bar SM

Installation

npm i angular-progress-bar-sm

Usage

Import

import { AngularProgressBarSmModule } from 'angular-progress-bar-sm';

To make it Animated:

Start passing dynamic values in your project & use [progressValue] = "progressValue"

 let intervalValue = setInterval(() => {
    this.progressValue += 1;

    if(this.progressValue === 100){
      this.progressValue = 0;
    }
  },100)

Fundamental Usage

<lib-angular-progress-bar-sm 
    [progressValue]="50" 
    [progressColor]="'#000'"    <!-- values '#000' or 'black' must be string -->
    [progressBarType]="'bar'"   <!-- values 'bar' or 'circle' must be string -->
/>

Fundamentals / Mandatories

Property/Method Type Description
progressValue number Percentage of filled progress bar
progressBarColor string Provide color single inverted comma's with hex color code or by default "#007bff" (Optional)
progressBarType string By default: 'bar' or can be 'circle' (Optional)

Future Plans

  • [ ] Animated filled portion of progress bar.

Author

Suraj Motwani - Email: suraj.motwani1306@gmail.com

License

Angular Progress Bar SM is available under the MIT license. See the LICENSE file for more info.

Package Sidebar

Install

npm i angular-progress-bar-sm

Weekly Downloads

17

Version

1.1.8

License

MIT

Unpacked Size

38.2 kB

Total Files

14

Last publish

Collaborators

  • suraj_motwani