File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,12 @@ <h2>Nested checklist</h2>
20
20
< div *ngFor ="let task of tasks ">
21
21
< mat-checkbox [(ngModel)] ="task.completed "
22
22
[checked] ="allComplete(task) "
23
- [indeterminate] ="someComplete(task.subtasks) "
23
+ [indeterminate] ="someComplete(task.subtasks! ) "
24
24
(change) ="setAllCompleted(task.subtasks, $event.checked) ">
25
25
{{task.name}}
26
26
</ mat-checkbox >
27
27
< div class ="demo-sub-list ">
28
- < div *ngFor ="let subtask of task.subtasks ">
28
+ < div *ngFor ="let subtask of task.subtasks! ">
29
29
< mat-checkbox [(ngModel)] ="subtask.completed ">
30
30
{{subtask.name}}
31
31
</ mat-checkbox >
Original file line number Diff line number Diff line change 8
8
9
9
import { Component } from '@angular/core' ;
10
10
import { MatChipInputEvent , MatSnackBar } from '@angular/material' ;
11
+ import { ThemePalette } from '@angular/material/core' ;
11
12
12
13
13
14
export interface Person {
@@ -22,7 +23,7 @@ export interface Person {
22
23
} )
23
24
export class ChipsAccessibilityDemo {
24
25
visible : boolean = true ;
25
- color : string = '' ;
26
+ color : ThemePalette = undefined ;
26
27
selectable : boolean = true ;
27
28
removable : boolean = true ;
28
29
addOnBlur : boolean = true ;
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ export class GridListAccessibilityDemo {
39
39
40
40
fixedCols = 4 ;
41
41
fixedRowHeight = 100 ;
42
- ratioGutter = 1 ;
42
+ ratioGutter = '1px' ;
43
43
fitListHeight = '400px' ;
44
44
ratio = '4:1' ;
45
45
}
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export class InputAccessibilityDemo {
24
24
email : string ;
25
25
usd : number ;
26
26
comment : string ;
27
- commentMax = 200 ;
27
+ commentMax = ' 200' ;
28
28
29
29
get passwordType ( ) { return this . showPassword ? 'text' : 'password' ; }
30
30
You can’t perform that action at this time.
0 commit comments