File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed
src/universal-app/kitchen-sink Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff 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 >
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments