Skip to content

cankayacan/ng2-progressarc

Repository files navigation

ng2-progressarc

Progress arc component.

Installation

You need to install the npm module:

npm install ng2-progressarc --save

Usage

Import the Ng2ProgressArcModule:

import {BrowserModule} from "@angular/platform-browser";
import {NgModule} from '@angular/core';
import {HttpModule} from '@angular/http';
import {Ng2ProgressArcModule} from 'ng2-progressarc';

@NgModule({
    imports: [
        BrowserModule,
        HttpModule,
        Ng2ProgressArcModule
    ],
    bootstrap: [AppComponent]
})
export class AppModule {
}

Anf then in your component:

<progress-arc
        [progress]="0.5"
        [size]="40"
        [strokeColor]="'#3080E8'"
        [backgroundColor]="'#eeeeee'">
</progress-arc>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published