File tree 2 files changed +14
-16
lines changed
test/benchmarks/mdc/table
2 files changed +14
-16
lines changed Original file line number Diff line number Diff line change
1
+ < button id ="hide " (click) ="hide() "> Hide</ button >
2
+ < button id ="show-10-rows-5-cols " (click) ="showTenRowsFiveCols() "> Show 10 Rows 5 Cols</ button >
3
+ < button id ="show-100-rows-5-cols " (click) ="showOneHundredRowsFiveCols() "> Show 100 Rows 5 Cols</ button >
4
+ < button id ="show-1000-rows-5-cols " (click) ="showOneThousandRowsFiveCols() "> Show 1000 Rows 5 Cols</ button >
5
+ < button id ="show-10-rows-10-cols " (click) ="showTenRowsTenCols() "> Show 10 Rows 10 Cols</ button >
6
+ < button id ="show-10-rows-20-cols " (click) ="showTenRowsTwentyCols() "> Show 10 Rows 20 Cols</ button >
7
+
8
+ < basic-table [rows] ="tenRows " [cols] ="fiveCols " *ngIf ="isTenRowsFiveColsVisible "> </ basic-table >
9
+ < basic-table [rows] ="oneHundredRows " [cols] ="fiveCols " *ngIf ="isOneHundredRowsFiveColsVisible "> </ basic-table >
10
+ < basic-table [rows] ="oneThousandRows " [cols] ="fiveCols " *ngIf ="isOneThousandRowsFiveColsVisible "> </ basic-table >
11
+
12
+ < basic-table [rows] ="tenRows " [cols] ="tenCols " *ngIf ="isTenRowsTenColsVisible "> </ basic-table >
13
+ < basic-table [rows] ="tenRows " [cols] ="twentyCols " *ngIf ="isTenRowsTwentyColsVisible "> </ basic-table >
Original file line number Diff line number Diff line change @@ -17,24 +17,9 @@ import {
17
17
18
18
/** component: mdc-table */
19
19
20
- // tslint:disable:max-line-length
21
20
@Component ( {
22
21
selector : 'app-root' ,
23
- template : `
24
- <button id="hide" (click)="hide()">Hide</button>
25
- <button id="show-10-rows-5-cols" (click)="showTenRowsFiveCols()">Show 10 Rows 5 Cols</button>
26
- <button id="show-100-rows-5-cols" (click)="showOneHundredRowsFiveCols()">Show 100 Rows 5 Cols</button>
27
- <button id="show-1000-rows-5-cols" (click)="showOneThousandRowsFiveCols()">Show 1000 Rows 5 Cols</button>
28
- <button id="show-10-rows-10-cols" (click)="showTenRowsTenCols()">Show 10 Rows 10 Cols</button>
29
- <button id="show-10-rows-20-cols" (click)="showTenRowsTwentyCols()">Show 10 Rows 20 Cols</button>
30
-
31
- <basic-table [rows]="tenRows" [cols]="fiveCols" *ngIf="isTenRowsFiveColsVisible"></basic-table>
32
- <basic-table [rows]="oneHundredRows" [cols]="fiveCols" *ngIf="isOneHundredRowsFiveColsVisible"></basic-table>
33
- <basic-table [rows]="oneThousandRows" [cols]="fiveCols" *ngIf="isOneThousandRowsFiveColsVisible"></basic-table>
34
-
35
- <basic-table [rows]="tenRows" [cols]="tenCols" *ngIf="isTenRowsTenColsVisible"></basic-table>
36
- <basic-table [rows]="tenRows" [cols]="twentyCols" *ngIf="isTenRowsTwentyColsVisible"></basic-table>
37
- ` ,
22
+ templateUrl : './app.module.html' ,
38
23
encapsulation : ViewEncapsulation . None ,
39
24
styleUrls : [ '//src/material-experimental/mdc-theming/prebuilt/indigo-pink.css' ] ,
40
25
} )
You can’t perform that action at this time.
0 commit comments