Skip to content

capyash/ngx-split-progressbar

 
 

Repository files navigation

CI

Introduction

This component allow you to manage a progress visually with split slots like shown in below image

image

Development server

  1. Run build:lib that will build ngx-split-progressbar library.
  2. Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

installation

Type the following command to install the package:

npm install ngx-split-progressbar@latest

Then you need to import it into your app modules

import { NgxSplitProgressbarModule } from "ngx-split-progrssbar"

@NgModule({
  imports: [
    NgxSplitProgressbarModule
  ]
})

How to use

Include the component in below format

<lib-ngx-split-progressbar 
  [data]="[
    { name: 'Slot one', color: '#AEC6F4', weightage: 20 },
    { name: 'Slot two', color: '#C5C9E5', weightage: 20 },
    { name: 'Slot three', color: '#BBDBCE', weightage: 20 },
    { name: 'Slot four', color: '#F8E6A6', weightage: 40 },
  ]">
</lib-ngx-split-progressbar>

About

Angular Split Progress Component

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 63.8%
  • JavaScript 23.4%
  • HTML 7.4%
  • SCSS 3.8%
  • CSS 1.6%