-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmichael.component.html
More file actions
54 lines (54 loc) · 1.88 KB
/
michael.component.html
File metadata and controls
54 lines (54 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<div class="grid-list">
<mat-card>
<mat-card-title>Basic Grid List</mat-card-title>
<mat-card-content class="basic-list">
<mat-grid-list cols="4" [rowHeight]="basicRowHeight">
<mat-grid-tile> One </mat-grid-tile>
<mat-grid-tile> Two </mat-grid-tile>
<mat-grid-tile> Three </mat-grid-tile>
<mat-grid-tile> Four </mat-grid-tile>
</mat-grid-list>
</mat-card-content>
</mat-card>
<mat-card>
<mat-card-title>Grid List with Header</mat-card-title>
<mat-card-content>
<mat-grid-list cols="3" rowHeight="200px">
<mat-grid-tile *ngFor="let dog of dogs" style="background:gray">
<mat-grid-tile-header>
<mat-icon mat-grid-avatar>info_outline</mat-icon>
{{dog.name}}
</mat-grid-tile-header>
</mat-grid-tile>
</mat-grid-list>
</mat-card-content>
</mat-card>
<mat-card>
<mat-card-title>Grid List with Footer</mat-card-title>
<mat-card-content>
<mat-grid-list cols="3" rowHeight="200px">
<mat-grid-tile *ngFor="let dog of dogs">
<img [alt]="dog.name" src="https://material.angularjs.org/material2_assets/ngconf/{{dog.name}}.png" />
<mat-grid-tile-footer>
<h3 mat-line>
{{dog.name}}
</h3>
<span mat-line>Human: {{dog.human}}</span>
<mat-icon>star_border</mat-icon>
</mat-grid-tile-footer>
</mat-grid-tile>
</mat-grid-list>
</mat-card-content>
</mat-card>
</div>
<div class="button-row wrapper">
<button mat-fab>Basic</button>
<button mat-fab color="primary">Primary</button>
<button mat-fab color="accent">Accent</button>
<button mat-fab color="warn">Warn</button>
<button mat-fab disabled>Disabled</button>
<button mat-fab>
<mat-icon aria-label="Example icon-button with a heart icon">favourite</mat-icon>
</button>
<a mat-fab routerLink=".">Link</a>
</div>