1.2.3 • Published 8 years ago

angular-circular-slider v1.2.3

Weekly downloads
1
License
MIT
Repository
-
Last release
8 years ago

angular-circular-slider

Installation

To install this library, run:

$ npm install angular-circular-slider --save

Consuming the library

Install

$ npm install angular-circular-slider --save

and then import in Angular AppModule:

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
 
import { AppComponent } from './app.component';
 
// Import the library
import { CircularSliderModule } from 'angular-circular-slider';
 
@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
 
    // Specify library as an import
    CircularSliderModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Once the library is imported, you can use it as a component in your Angular application:

<!-- You can now use your library component in app.component.html -->
<app-circular-slider 
    [progress]='progress' 
    [total]='100' 
    [startingAngle]='15' 
    [endingAngle]='345' 
    [grooveColor]="'#68696A'" 
    [grooveWidth]='6' [progressWidth]='4' 
    [backgroundColor]="'#333333'" 
    [handleWidth]='1.5'
    [progressColor]="'#33B5E5'" 
    (onProgressChanged)='setprogress($event)'>
</app-circular-slider>

License

MIT © Naveen Krishnan R

1.2.3

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.1.0

8 years ago