ngx-generic-slider
v0.0.2
Published
Elevate your Angular applications with the ngx-progress-slider package – a sleek and customizable progress slider component designed to enhance user interactions and visualize progress seamlessly.
Downloads
3
Readme
ngx-generic-slider
Elevate your Angular applications with the ngx-progress-slider package – a sleek and customizable progress slider component designed to enhance user interactions and visualize progress seamlessly.
Getting Started
ngx-progress-slider provides slider component powered by Angular, so you don't need to handle slider events at your end.
Usage Steps
Installation
Run npm i ngx-generic-slider
to install the package.
Imports
If you want to use this component in a standalone component, then add NgxGenericSliderComponent
in imports array of that standalone component. Else add NgxGenericSliderComponent
in the imports array of the module
Usage
Add <ngx-generic-slider [config]="sliderConfig"></ngx-generic-slider>
in the html template
Customizations
sliderConfig is the configuration used to customization the slider. Below are the properties of sliderConfig
activeColor
- Color code of line which is covered
inActiveColor
- Color code of line which is uncovered
activeImagePath
- Image path of active image path
inActiveImagePath
- Image path of inactive image path
sliderValue
- By default set to 0, can be used to preset slider
intervals
- By default set to 4, are the number of intervals slider is to be divided;
disabled
- By default set to false, can be used to disable slider
Further help
To get more help or for any suggestions, please drop a mail on [email protected].