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

Method constructor

src/material/core/ripple/ripple-ref.ts:44–52  ·  view source on GitHub ↗
(
    private _renderer: {fadeOutRipple(ref: RippleRef): void},
    /** Reference to the ripple HTML element. */
    public element: HTMLElement,
    /** Ripple configuration used for the ripple. */
    public config: RippleConfig,
    /* Whether animations are forcibly disabled for ripples through CSS. */
    public _animationForciblyDisabledThroughCss = false,
  )

Source from the content-addressed store, hash-verified

42 state: RippleState = RippleState.HIDDEN;
43
44 constructor(
45 private _renderer: {fadeOutRipple(ref: RippleRef): void},
46 /** Reference to the ripple HTML element. */
47 public element: HTMLElement,
48 /** Ripple configuration used for the ripple. */
49 public config: RippleConfig,
50 /* Whether animations are forcibly disabled for ripples through CSS. */
51 public _animationForciblyDisabledThroughCss = false,
52 ) {}
53
54 /** Fades out the ripple element. */
55 fadeOut() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected