Skip to content

Commit 14c5e6e

Browse files
crisbetowagnermaciel
authored andcommitted
docs: update documentation for RippleGlobalOptions.animation (#22767)
The doc string on `RippleGlobalOptions.animation` was incorrect, because the `matRippleAnimation` input takes precedence over the `NoopAnimationsModule`. Fixes #21541. (cherry picked from commit 70e029e)
1 parent c1bcc12 commit 14c5e6e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/material/core/ripple/ripple.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ export interface RippleGlobalOptions {
3131
disabled?: boolean;
3232

3333
/**
34-
* Configuration for the animation duration of the ripples. There are two phases with different
35-
* durations for the ripples. The animation durations will be overwritten if the
36-
* `NoopAnimationsModule` is being used.
34+
* Default configuration for the animation duration of the ripples. There are two phases with
35+
* different durations for the ripples: `enter` and `leave`. The durations will be overwritten
36+
* by the value of `matRippleAnimation` or if the `NoopAnimationsModule` is included.
3737
*/
3838
animation?: RippleAnimationConfig;
3939

0 commit comments

Comments
 (0)