Angular2 nouislider component
See demos
Requires Angular 14 or higher
npm i nouislider ng2-nouislider
import { NouisliderModule } from 'ng2-nouislider';
@import "nouislider/dist/nouislider.css";
<nouislider [connect]="true" [min]="0" [max]="15" [(ngModel)]="someRange"></nouislider>
this.form1 = this.formBuilder.group({ single: [10] });
<form [formGroup]="form">
<nouislider [min]="0" [max]="20" [step]="0.5" [formControl]="form.controls.single"></nouislider>
</form>
This component is based on nouislider. Documentation about additional settings (passed in [config] @Input) can be found here.
corepack enable
pnpm i
pnpm start
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind are welcome!
MIT