0.0.9 • Published 3 years ago
ng-weekday-picker v0.0.9
NgWeekdayPicker
Angular component to let user select multiple weekdays from the list Can be used as Form Control in template driven forms as well as reactive forms
Screenshot
See Demo
Getting Started
Step 1: Install ng-weekday-picker
NPM
npm install --save ng-weekday-picker
Step 2: Import the NgWeekdayPickerModule
import { NgWeekdayPickerModule } from 'ng-weekday-picker';
@NgModule({
declarations: [AppComponent],
imports: [NgWeekdayPickerModule],
bootstrap: [AppComponent]
})
export class AppModule {}
Step 3: Usage
<ng-weekday-picker
[size]="'lg'"
name="whiteDays"
formControlName="whiteDays"
(changeDays)="$event">
</ng-weekday-picker>