From 7f97979f6bab33c438bab08700c1a386aa556d53 Mon Sep 17 00:00:00 2001 From: Kristiyan Kostadinov Date: Mon, 24 May 2021 15:24:34 +0200 Subject: [PATCH] docs: update documentation for `RippleGlobalOptions.animation` The doc string on `RippleGlobalOptions.animation` was incorrect, because the `matRippleAnimation` input takes precedence over the `NoopAnimationsModule`. Fixes #21541. --- src/material/core/ripple/ripple.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/material/core/ripple/ripple.ts b/src/material/core/ripple/ripple.ts index 30add395be38..0728fae82e38 100644 --- a/src/material/core/ripple/ripple.ts +++ b/src/material/core/ripple/ripple.ts @@ -31,9 +31,9 @@ export interface RippleGlobalOptions { disabled?: boolean; /** - * Configuration for the animation duration of the ripples. There are two phases with different - * durations for the ripples. The animation durations will be overwritten if the - * `NoopAnimationsModule` is being used. + * Default configuration for the animation duration of the ripples. There are two phases with + * different durations for the ripples: `enter` and `leave`. The durations will be overwritten + * by the value of `matRippleAnimation` or if the `NoopAnimationsModule` is included. */ animation?: RippleAnimationConfig;