MCPcopy Create free account
hub / github.com/angular/components / launch

Method launch

src/material/core/ripple/ripple.ts:217–223  ·  view source on GitHub ↗

Launches a manual ripple at the specified coordinated or just by the ripple config.

(configOrX: number | RippleConfig, y: number = 0, config?: RippleConfig)

Source from the content-addressed store, hash-verified

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}

Callers 5

launchRippleMethod · 0.80
ripple.spec.tsFile · 0.80
_showRippleMethod · 0.80
ngAfterViewInitMethod · 0.80

Calls 1

fadeInRippleMethod · 0.80

Tested by

no test coverage detected