|
4 | 4 | <button matButton>Basic</button> |
5 | 5 | <button matButton disabled>Disabled</button> |
6 | 6 | <a matButton href="https://www.google.com/" target="_blank">Link</a> |
| 7 | + <button matButton showProgress="true"> |
| 8 | + Progress |
| 9 | + <mat-progress-spinner |
| 10 | + progressIndicator |
| 11 | + mode="indeterminate" |
| 12 | + diameter="20" |
| 13 | + aria-label="Loading" |
| 14 | + tabindex="" |
| 15 | + /> |
| 16 | + </button> |
7 | 17 | </div> |
8 | 18 | </section> |
9 | 19 | <mat-divider/> |
|
13 | 23 | <button matButton="elevated">Basic</button> |
14 | 24 | <button matButton="elevated" disabled>Disabled</button> |
15 | 25 | <a matButton="elevated" href="https://www.google.com/" target="_blank">Link</a> |
| 26 | + <button matButton="elevated" showProgress="true"> |
| 27 | + Progress |
| 28 | + <mat-progress-spinner |
| 29 | + progressIndicator |
| 30 | + mode="indeterminate" |
| 31 | + diameter="20" |
| 32 | + aria-label="Loading" |
| 33 | + tabindex="" |
| 34 | + /> |
| 35 | + </button> |
16 | 36 | </div> |
17 | 37 | </section> |
18 | 38 | <mat-divider/> |
|
22 | 42 | <button matButton="outlined">Basic</button> |
23 | 43 | <button matButton="outlined" disabled>Disabled</button> |
24 | 44 | <a matButton="outlined" href="https://www.google.com/" target="_blank">Link</a> |
| 45 | + <button matButton="outlined" showProgress="true"> |
| 46 | + Progress |
| 47 | + <mat-progress-spinner |
| 48 | + progressIndicator |
| 49 | + mode="indeterminate" |
| 50 | + diameter="20" |
| 51 | + aria-label="Loading" |
| 52 | + tabindex="" |
| 53 | + /> |
| 54 | + </button> |
25 | 55 | </div> |
26 | 56 | </section> |
27 | 57 | <mat-divider/> |
|
31 | 61 | <button matButton="filled">Basic</button> |
32 | 62 | <button matButton="filled" disabled>Disabled</button> |
33 | 63 | <a matButton="filled" href="https://www.google.com/" target="_blank">Link</a> |
| 64 | + <button matButton="filled" showProgress="true"> |
| 65 | + Progress |
| 66 | + <mat-progress-spinner |
| 67 | + progressIndicator |
| 68 | + mode="indeterminate" |
| 69 | + diameter="20" |
| 70 | + aria-label="Loading" |
| 71 | + tabindex="" |
| 72 | + /> |
| 73 | + </button> |
34 | 74 | </div> |
35 | 75 | </section> |
36 | 76 | <mat-divider/> |
|
40 | 80 | <button matButton="tonal" >Basic</button> |
41 | 81 | <button matButton="tonal" disabled>Disabled</button> |
42 | 82 | <a matButton="tonal" href="https://www.google.com/" target="_blank">Link</a> |
| 83 | + <button matButton="tonal" showProgress="true"> |
| 84 | + Progress |
| 85 | + <mat-progress-spinner |
| 86 | + progressIndicator |
| 87 | + mode="indeterminate" |
| 88 | + diameter="20" |
| 89 | + aria-label="Loading" |
| 90 | + tabindex="" |
| 91 | + /> |
| 92 | + </button> |
43 | 93 | </div> |
44 | 94 | </section> |
45 | 95 | <mat-divider/> |
|
53 | 103 | <button matIconButton disabled aria-label="Example icon button with a open in new tab icon"> |
54 | 104 | <mat-icon>open_in_new</mat-icon> |
55 | 105 | </button> |
| 106 | + <button matIconButton showProgress="true" aria-label="Example icon button with a download icon"> |
| 107 | + <mat-icon>download</mat-icon> |
| 108 | + <mat-progress-spinner |
| 109 | + progressIndicator |
| 110 | + mode="indeterminate" |
| 111 | + diameter="20" |
| 112 | + aria-label="Loading" |
| 113 | + tabindex="" |
| 114 | + /> |
| 115 | + </button> |
56 | 116 | </div> |
57 | 117 | </div> |
58 | 118 | </section> |
|
67 | 127 | <button matFab disabled aria-label="Example icon button with a heart icon"> |
68 | 128 | <mat-icon>favorite</mat-icon> |
69 | 129 | </button> |
| 130 | + <button matFab showProgress="true" aria-label="Example icon button with a skull icon"> |
| 131 | + <mat-icon>skull</mat-icon> |
| 132 | + <mat-progress-spinner |
| 133 | + progressIndicator |
| 134 | + mode="indeterminate" |
| 135 | + diameter="20" |
| 136 | + aria-label="Loading" |
| 137 | + tabindex="" |
| 138 | + /> |
| 139 | + </button> |
70 | 140 | </div> |
71 | 141 | </div> |
72 | 142 | </section> |
|
81 | 151 | <button matMiniFab disabled aria-label="Example icon button with a home icon"> |
82 | 152 | <mat-icon>home</mat-icon> |
83 | 153 | </button> |
| 154 | + <button matMiniFab showProgress="true" aria-label="Example icon button with a wifi icon"> |
| 155 | + <mat-icon>wifi</mat-icon> |
| 156 | + <mat-progress-spinner |
| 157 | + progressIndicator |
| 158 | + mode="indeterminate" |
| 159 | + diameter="20" |
| 160 | + aria-label="Loading" |
| 161 | + tabindex="" |
| 162 | + /> |
| 163 | + </button> |
84 | 164 | </div> |
85 | 165 | </div> |
86 | 166 | </section> |
|
101 | 181 | <mat-icon>favorite</mat-icon> |
102 | 182 | Link |
103 | 183 | </a> |
| 184 | + <button matFab extended showProgress="true"> |
| 185 | + <mat-icon>favorite</mat-icon> |
| 186 | + Progress |
| 187 | + <mat-progress-spinner |
| 188 | + progressIndicator |
| 189 | + mode="indeterminate" |
| 190 | + diameter="20" |
| 191 | + aria-label="Loading" |
| 192 | + tabindex="" |
| 193 | + /> |
| 194 | + </button> |
104 | 195 | </div> |
105 | 196 | </div> |
106 | 197 | </section> |
0 commit comments