Launches a manual ripple at the specified coordinated or just by the ripple config.
(configOrX: number | RippleConfig, y: number = 0, config?: RippleConfig)
| 215 | |
| 216 | /** Launches a manual ripple at the specified coordinated or just by the ripple config. */ |
| 217 | launch(configOrX: number | RippleConfig, y: number = 0, config?: RippleConfig): RippleRef { |
| 218 | if (typeof configOrX === 'number') { |
| 219 | return this._rippleRenderer.fadeInRipple(configOrX, y, {...this.rippleConfig, ...config}); |
| 220 | } else { |
| 221 | return this._rippleRenderer.fadeInRipple(0, 0, {...this.rippleConfig, ...configOrX}); |
| 222 | } |
| 223 | } |
| 224 | } |
no test coverage detected