@@ -46,7 +46,10 @@ export class MdListDivider {}
4646@Component ( {
4747 moduleId : module . id ,
4848 selector : 'md-nav-list, mat-nav-list' ,
49- host : { 'role' : 'navigation' } ,
49+ host : {
50+ 'role' : 'navigation' ,
51+ 'class' : 'mat-nav-list'
52+ } ,
5053 template : '<ng-content></ng-content>' ,
5154 styleUrls : [ 'list.css' ] ,
5255 inputs : [ 'disableRipple' ] ,
@@ -59,33 +62,14 @@ export class MdNavList extends _MdListMixinBase implements CanDisableRipple {}
5962 moduleId : module . id ,
6063 selector : 'md-list, mat-list' ,
6164 template : '<ng-content></ng-content>' ,
65+ host : { 'class' : 'mat-list' } ,
6266 styleUrls : [ 'list.css' ] ,
6367 inputs : [ 'disableRipple' ] ,
6468 encapsulation : ViewEncapsulation . None ,
6569 changeDetection : ChangeDetectionStrategy . OnPush ,
6670} )
6771export class MdList extends _MdListMixinBase implements CanDisableRipple { }
6872
69- /**
70- * Directive whose purpose is to add the mat- CSS styling to this selector.
71- * @docs -private
72- */
73- @Directive ( {
74- selector : 'md-list, mat-list' ,
75- host : { 'class' : 'mat-list' }
76- } )
77- export class MdListCssMatStyler { }
78-
79- /**
80- * Directive whose purpose is to add the mat- CSS styling to this selector.
81- * @docs -private
82- */
83- @Directive ( {
84- selector : 'md-nav-list, mat-nav-list' ,
85- host : { 'class' : 'mat-nav-list' }
86- } )
87- export class MdNavListCssMatStyler { }
88-
8973/**
9074 * Directive whose purpose is to add the mat- CSS styling to this selector.
9175 * @docs -private
0 commit comments