Angular 8+ slider toggle
Getting Started
Installation
- Install the package :
npm install ang-slider-toggle --save
Usage
Import AngSlideToggleModule
into NgModule
in app.module.ts
. CommonModule
is also required.
;; @
Add the following component tag in you template
settings
settings = barCheckedBgColor: '#beebe9' sliderCheckedColor: '#3fc5f0' barUncheckedBgColor: '#ded5d5' sliderUncheckedColor: '#bdbdbd'
or
Run locally
- Clone the repository or downlod the .zip,.tar files.
- Run
npm install
- Run
ng serve
for a dev server - Navigate to
http://localhost:4200/
License
free to use on any purpose.