Skip to content

Commit e94f26c

Browse files
devversionmmalerba
authored andcommitted
chore(): add sort module to universal app (#6324)
* Adds the `MdSortModule` to the universal app. This means that it will be part of the prerender check on the CI.
1 parent 18a85f3 commit e94f26c

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

src/universal-app/kitchen-sink/kitchen-sink.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,26 @@ <h2>Toolbar</h2>
211211
<md-toolbar-row>Toolbar</md-toolbar-row>
212212
</md-toolbar>
213213

214+
<h2>Sort</h2>
215+
216+
<table mdSort>
217+
<tr>
218+
<th md-sort-header="name">Name</th>
219+
<th md-sort-header="calories">Calories</th>
220+
<th md-sort-header="fat">Fat</th>
221+
<th md-sort-header="carbs">Carbs</th>
222+
<th md-sort-header="protein">Protein</th>
223+
</tr>
224+
225+
<tr>
226+
<td>Cupcake</td>
227+
<td>305</td>
228+
<td>4</td>
229+
<td>67</td>
230+
<td>4</td>
231+
</tr>
232+
</table>
233+
214234
<h2>Tooltip</h2>
215235

216236
<button mdTooltip="Action!">Go</button>

src/universal-app/kitchen-sink/kitchen-sink.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import {
2626
MdSliderModule,
2727
MdSlideToggleModule,
2828
MdSnackBarModule,
29+
MdSortModule,
2930
MdTabsModule,
3031
MdToolbarModule,
3132
MdTooltipModule,
@@ -91,6 +92,7 @@ export class KitchenSink {
9192
MdToolbarModule,
9293
MdTooltipModule,
9394
MdExpansionModule,
95+
MdSortModule,
9496

9597
// CDK Modules
9698
CdkTableModule

0 commit comments

Comments
 (0)