Skip to content

Commit 11602ed

Browse files
committed
chore(demo): run self closing tag schematic
1 parent 9a26893 commit 11602ed

File tree

8 files changed

+23
-29
lines changed

8 files changed

+23
-29
lines changed

apps/demo/src/app/devtools/todo.component.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,13 @@ import { TodoStore } from './todo-store';
1616
<mat-table [dataSource]="dataSource" class="mat-elevation-z8">
1717
<!-- Checkbox Column -->
1818
<ng-container matColumnDef="finished">
19-
<mat-header-cell *matHeaderCellDef></mat-header-cell>
19+
<mat-header-cell *matHeaderCellDef />
2020
<mat-cell *matCellDef="let row" class="actions">
2121
<mat-checkbox
2222
(click)="$event.stopPropagation()"
2323
(change)="checkboxLabel(row)"
2424
[checked]="row.finished"
25-
>
26-
</mat-checkbox>
25+
/>
2726
<mat-icon (click)="removeTodo(row)">delete</mat-icon>
2827
</mat-cell>
2928
</ng-container>
@@ -44,11 +43,11 @@ import { TodoStore } from './todo-store';
4443
</mat-cell>
4544
</ng-container>
4645
47-
<mat-header-row *matHeaderRowDef="displayedColumns"></mat-header-row>
46+
<mat-header-row *matHeaderRowDef="displayedColumns" />
4847
<mat-row
4948
*matRowDef="let row; columns: displayedColumns"
5049
(click)="selection.toggle(row)"
51-
></mat-row>
50+
/>
5251
</mat-table>
5352
5453
<div class="details">

apps/demo/src/app/flight-search-redux-connector/flight-search.component.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ <h2 class="title">Flight Search (Redux Connector)</h2>
5858
[item]="flight"
5959
[selected]="localState.basket()[flight.id]"
6060
(selectedChange)="select(flight.id, $event)"
61-
>
62-
</demo-flight-card>
61+
/>
6362
</div>
6463
}
6564
</div>

apps/demo/src/app/flight-search-with-pagination/flight-search-with-pagination.component.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ <h2 class="title">Flight Search (Pagination)</h2>
4949
}}</mat-cell>
5050
</ng-container>
5151

52-
<mat-header-row *matHeaderRowDef="displayedColumns"></mat-header-row>
52+
<mat-header-row *matHeaderRowDef="displayedColumns" />
5353
<mat-row
5454
*matRowDef="let row; columns: displayedColumns"
5555
(click)="selection.toggle(row)"
56-
></mat-row>
56+
/>
5757
</mat-table>
5858
<mat-paginator
5959
[length]="flightStore.flightTotalCount()"
@@ -63,5 +63,4 @@ <h2 class="title">Flight Search (Pagination)</h2>
6363
[pageSizeOptions]="[5, 10, 25]"
6464
(page)="handlePageEvent($event)"
6565
aria-label="Select page"
66-
>
67-
</mat-paginator>
66+
/>

apps/demo/src/app/flight-search/flight-search.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ <h2>Flight Search (<code>withRedux</code>)</h2>
3838
}}</mat-cell>
3939
</ng-container>
4040

41-
<mat-header-row *matHeaderRowDef="displayedColumns"></mat-header-row>
41+
<mat-header-row *matHeaderRowDef="displayedColumns" />
4242
<mat-row
4343
*matRowDef="let row; columns: displayedColumns"
4444
(click)="selection.toggle(row)"
45-
></mat-row>
45+
/>
4646
</mat-table>

apps/demo/src/app/reset/todo.component.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,13 @@ import { TodoStore } from './todo-store';
1919
<mat-table [dataSource]="dataSource" class="mat-elevation-z8">
2020
<!-- Checkbox Column -->
2121
<ng-container matColumnDef="finished">
22-
<mat-header-cell *matHeaderCellDef></mat-header-cell>
22+
<mat-header-cell *matHeaderCellDef />
2323
<mat-cell *matCellDef="let row" class="actions">
2424
<mat-checkbox
2525
(click)="$event.stopPropagation()"
2626
(change)="toggleFinished(row)"
2727
[checked]="row.finished"
28-
>
29-
</mat-checkbox>
28+
/>
3029
</mat-cell>
3130
</ng-container>
3231
@@ -36,11 +35,11 @@ import { TodoStore } from './todo-store';
3635
<mat-cell *matCellDef="let element">{{ element.name }}</mat-cell>
3736
</ng-container>
3837
39-
<mat-header-row *matHeaderRowDef="displayedColumns"></mat-header-row>
38+
<mat-header-row *matHeaderRowDef="displayedColumns" />
4039
<mat-row
4140
*matRowDef="let row; columns: displayedColumns"
4241
(click)="selection.toggle(row)"
43-
></mat-row>
42+
/>
4443
</mat-table>
4544
</section>
4645
`,

apps/demo/src/app/shared/flight-card.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ <h2 class="title">{{ item().from }} - {{ item().to }}</h2>
1313
@if (selected()) {
1414
<button class="btn btn-default" (click)="deselect()">Remove</button>
1515
}
16-
<ng-content></ng-content>
16+
<ng-content />
1717
</p>
1818
</div>
1919
</div>

apps/demo/src/app/todo-indexeddb-sync/todo-indexeddb-sync.component.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ <h2>StorageType:IndexedDB</h2>
33
<mat-table [dataSource]="dataSource" class="mat-elevation-z8">
44
<!-- Checkbox Column -->
55
<ng-container matColumnDef="finished">
6-
<mat-header-cell *matHeaderCellDef></mat-header-cell>
6+
<mat-header-cell *matHeaderCellDef />
77
<mat-cell *matCellDef="let row" class="actions">
88
<mat-checkbox
99
(change)="checkboxLabel(row)"
1010
(click)="$event.stopPropagation()"
1111
[checked]="row.finished"
12-
>
13-
</mat-checkbox>
12+
/>
1413
<mat-icon (click)="removeTodo(row)">delete</mat-icon>
1514
</mat-cell>
1615
</ng-container>
@@ -37,9 +36,9 @@ <h2>StorageType:IndexedDB</h2>
3736
</mat-cell>
3837
</ng-container>
3938

40-
<mat-header-row *matHeaderRowDef="displayedColumns"></mat-header-row>
39+
<mat-header-row *matHeaderRowDef="displayedColumns" />
4140
<mat-row
4241
(click)="selection.toggle(row)"
4342
*matRowDef="let row; columns: displayedColumns"
44-
></mat-row>
43+
/>
4544
</mat-table>

apps/demo/src/app/todo-storage-sync/todo-storage-sync.component.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ <h2>StorageType:LocalStorage</h2>
33
<mat-table [dataSource]="dataSource" class="mat-elevation-z8">
44
<!-- Checkbox Column -->
55
<ng-container matColumnDef="finished">
6-
<mat-header-cell *matHeaderCellDef></mat-header-cell>
6+
<mat-header-cell *matHeaderCellDef />
77
<mat-cell *matCellDef="let row" class="actions">
88
<mat-checkbox
99
(change)="checkboxLabel(row)"
1010
(click)="$event.stopPropagation()"
1111
[checked]="row.finished"
12-
>
13-
</mat-checkbox>
12+
/>
1413
<mat-icon (click)="removeTodo(row)">delete</mat-icon>
1514
</mat-cell>
1615
</ng-container>
@@ -37,9 +36,9 @@ <h2>StorageType:LocalStorage</h2>
3736
</mat-cell>
3837
</ng-container>
3938

40-
<mat-header-row *matHeaderRowDef="displayedColumns"></mat-header-row>
39+
<mat-header-row *matHeaderRowDef="displayedColumns" />
4140
<mat-row
4241
(click)="selection.toggle(row)"
4342
*matRowDef="let row; columns: displayedColumns"
44-
></mat-row>
43+
/>
4544
</mat-table>

0 commit comments

Comments
 (0)