(
private _target: RippleTarget,
private _ngZone: NgZone,
elementOrElementRef: HTMLElement | ElementRef<HTMLElement>,
private _platform: Platform,
injector?: Injector,
)
| 110 | private static _eventManager = new RippleEventManager(); |
| 111 | |
| 112 | constructor( |
| 113 | private _target: RippleTarget, |
| 114 | private _ngZone: NgZone, |
| 115 | elementOrElementRef: HTMLElement | ElementRef<HTMLElement>, |
| 116 | private _platform: Platform, |
| 117 | injector?: Injector, |
| 118 | ) { |
| 119 | // Only do anything if we're on the browser. |
| 120 | if (_platform.isBrowser) { |
| 121 | this._containerElement = coerceElement(elementOrElementRef); |
| 122 | } |
| 123 | |
| 124 | if (injector) { |
| 125 | injector.get(_CdkPrivateStyleLoader).load(_MatRippleStylesLoader); |
| 126 | } |
| 127 | } |
| 128 | |
| 129 | /** |
| 130 | * Fades in a ripple at the given coordinates. |
nothing calls this directly
no test coverage detected