Skip to content

Commit

Permalink
merge issues/14
Browse files Browse the repository at this point in the history
  • Loading branch information
dudipsh committed Dec 7, 2020
1 parent d1cd517 commit 7b3ec3c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions demo-angular/src/app/home/home.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,17 @@ export class HomeComponent implements OnInit {
ngOnInit(): void {
const options = new Options();
// options.selectionMode = "MULTIPLE";
options.selectionMode = "SINGLE";
options.selectionMode = "RANGE";
options.selectToday = false;

this.dateRange = create(options);
}

selectedDates(selectionMode) {
const options = new Options();
options.selectionMode = selectionMode;
this.dateRange = create(options);
this.dateRange.showDateRangePicker();
//this.dateRange.();
}

getSelectedDate() {
Expand Down

0 comments on commit 7b3ec3c

Please sign in to comment.