1- < div class ="selection ">
2- < mat-slide-toggle [(ngModel)] ="placeholder ">
3- Days placeholder
1+ < div class ="mat-app-background ">
2+
3+ < mat-toolbar color ="primary ">
4+ Angular Dark Mode
5+ < div class ="flex-stretch "> </ div >
6+ < mat-icon class ="mr-8 "> brightness_5</ mat-icon >
7+ < mat-slide-toggle [formControl] ="toggleControl " class ="mr-8 ">
48 </ mat-slide-toggle >
9+ < mat-icon > bedtime</ mat-icon >
10+ </ mat-toolbar >
511
6- < mat-form-field >
7- < mat-label > Months before</ mat-label >
8- < mat-select [(ngModel)] ="monthsBefore ">
9- < mat-option *ngFor ="let num of monthsAfterBefore " [value] ="num "> {{num}}</ mat-option >
10- </ mat-select >
11- </ mat-form-field >
12+ < div class ="selection ">
13+ < mat-slide-toggle [(ngModel)] ="placeholder ">
14+ Days placeholder
15+ </ mat-slide-toggle >
1216
13- < mat-form-field >
14- < mat-label > Months after </ mat-label >
15- < mat-select [(ngModel)] ="monthsAfter ">
16- < mat-option *ngFor ="let num of monthsAfterBefore " [value] ="num "> {{num}}</ mat-option >
17- </ mat-select >
18- </ mat-form-field >
17+ < mat-form-field >
18+ < mat-label > Months before </ mat-label >
19+ < mat-select [(ngModel)] ="monthsBefore ">
20+ < mat-option *ngFor ="let num of monthsAfterBefore " [value] ="num "> {{num}}</ mat-option >
21+ </ mat-select >
22+ </ mat-form-field >
1923
20- < div >
21- Events: {{ latestEvent | json }}
22- </ div >
24+ < mat-form-field >
25+ < mat-label > Months after</ mat-label >
26+ < mat-select [(ngModel)] ="monthsAfter ">
27+ < mat-option *ngFor ="let num of monthsAfterBefore " [value] ="num "> {{num}}</ mat-option >
28+ </ mat-select >
29+ </ mat-form-field >
2330
24- </ div >
31+ < div >
32+ Events: {{ latestEvent | json }}
33+ </ div >
2534
26- < div >
27- < calendar-panel [placeholderDay] ="placeholder " [dataSource] ="dataSource " year ="2021 " month ="5 "
28- [monthsBefore] ="monthsBefore " [monthsAfter] ="monthsAfter " [config] ="calendarConfig "
29- (clickDate) ="testMethod($event) ">
30- </ calendar-panel >
31- </ div >
35+ </ div >
36+
37+ < div >
38+ < calendar-panel [placeholderDay] ="placeholder " [dataSource] ="dataSource " year ="2021 " month ="5 "
39+ [monthsBefore] ="monthsBefore " [monthsAfter] ="monthsAfter " [config] ="calendarConfig "
40+ (clickDate) ="testMethod($event) ">
41+ </ calendar-panel >
42+ </ div >
43+ </ div >
0 commit comments