mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(tab): use MD_RIPPLE_GLOBAL_OPTIONS in tab (#3553)
* use MD_RIIPLE_GLOBAL_OPTIONS in tab * .
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user