@@ -55,7 +55,7 @@ import {MatInkBar} from '../ink-bar';
55
55
export class MatTabNavBase {
56
56
constructor ( public _elementRef : ElementRef ) { }
57
57
}
58
- export const _MatTabNavMixinBase = mixinDisableRipple ( mixinColor ( MatTabNavBase , 'primary' ) ) ;
58
+ export const _MatTabNavMixinBase = mixinColor ( MatTabNavBase , 'primary' ) ;
59
59
60
60
/**
61
61
* Navigation component matching the styles of the tab group header.
@@ -65,7 +65,7 @@ export const _MatTabNavMixinBase = mixinDisableRipple(mixinColor(MatTabNavBase,
65
65
moduleId : module . id ,
66
66
selector : '[mat-tab-nav-bar]' ,
67
67
exportAs : 'matTabNavBar, matTabNav' ,
68
- inputs : [ 'color' , 'disableRipple' ] ,
68
+ inputs : [ 'color' ] ,
69
69
templateUrl : 'tab-nav-bar.html' ,
70
70
styleUrls : [ 'tab-nav-bar.css' ] ,
71
71
host : { 'class' : 'mat-tab-nav-bar' } ,
@@ -74,7 +74,7 @@ export const _MatTabNavMixinBase = mixinDisableRipple(mixinColor(MatTabNavBase,
74
74
changeDetection : ChangeDetectionStrategy . OnPush ,
75
75
} )
76
76
export class MatTabNav extends _MatTabNavMixinBase implements AfterContentInit , CanColor ,
77
- CanDisableRipple , OnDestroy {
77
+ OnDestroy {
78
78
79
79
/** Subject that emits when the component has been destroyed. */
80
80
private _onDestroy = new Subject < void > ( ) ;
@@ -105,6 +105,7 @@ export class MatTabNav extends _MatTabNavMixinBase implements AfterContentInit,
105
105
private _backgroundColor : ThemePalette ;
106
106
107
107
/** Whether ripples should be disabled for all links or not. */
108
+ @Input ( )
108
109
get disableRipple ( ) { return this . _disableRipple ; }
109
110
set disableRipple ( value : boolean ) {
110
111
this . _disableRipple = coerceBooleanProperty ( value ) ;
0 commit comments