fix(tab): use MD_RIPPLE_GLOBAL_OPTIONS in tab (#3553)

* use MD_RIIPLE_GLOBAL_OPTIONS in tab

* .
This commit is contained in:
tinayuangao
2017-03-10 11:20:34 -08:00
committed by GitHub
parent a4e2de710f
commit ee853b9f6c
+3 -3
View File
@@ -9,7 +9,7 @@ import {
import {MdInkBar} from '../ink-bar';
import {MdRipple} from '../../core/ripple/index';
import {ViewportRuler} from '../../core/overlay/position/viewport-ruler';
import {MD_DISABLE_RIPPLES} from '../../core/ripple/ripple';
import {MD_RIPPLE_GLOBAL_OPTIONS, RippleGlobalOptions} from '../../core/ripple/ripple';
/**
* Navigation component matching the styles of the tab group header.
@@ -83,7 +83,7 @@ export class MdTabLink {
})
export class MdTabLinkRipple extends MdRipple {
constructor(elementRef: ElementRef, ngZone: NgZone, ruler: ViewportRuler,
@Optional() @Inject(MD_DISABLE_RIPPLES) forceDisableRipples: boolean) {
super(elementRef, ngZone, ruler, forceDisableRipples);
@Optional() @Inject(MD_RIPPLE_GLOBAL_OPTIONS) globalOptions: RippleGlobalOptions) {
super(elementRef, ngZone, ruler, globalOptions);
}
}