0.0.17 • Published 4 years ago
ngx-slider-plugin v0.0.17
Slider Plugin
Installation
Run the following code in your terminal:
yarn add @ngx-slider-plugin
or if you are using npm:
npm install @ngx-slider-plugin
Usage
Setup Before Initial Use
Import ngx-slider-plugin
into your root module like:
import { SliderPluginModule } from 'ngx-slider-plugin';
@NgModule({
imports: [
SliderPluginModule,
]
})
export class AppModule {}
<ngx-slider-plugin [pipeFormatFn]="format" pipeDensity="11" [labelFormatFn]="format" [step]="step" [min]="min" [max]="max" [formControl]="dates" [margin]="margin"></ngx-slider-plugin>
format(val){
return val+'h';
}
License and copy right
© Shahid Ahmad
License under the MIT License.