0.0.2 • Published 7 years ago

angular2-simple-slider v0.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

angular2-simple-slider

Installation

To install slider, run:

$ npm install angular2-simple-slider --save

Consuming your library

You can import your library in any Angular application by running:

$ npm install angular2-simple-slider

and then from your Angular AppModule:

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';
//import slidert component
import { SliderComponent } from 'angular2-simple-slider';

@NgModule({
  declarations: [
    AppComponent,
    //declare slider
    SliderComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    HttpModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Once slider is imported, you can use it in your Angular application:

<!-- You can now use slider component in app.component.html -->
<h1>
  {{title}}
</h1>
<slider (change)="onChange($event)"></slider>

License

MIT © bezzubov egor

0.0.2

7 years ago

0.0.1

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago