Skip to content

docs-bug(ripple): Incorrectly says that animations will be disabled from NoopAnimationsModule #21541

Closed
@andrewseguin

Description

@andrewseguin

Documentation Feedback

Documentation for the ripple config's animation value says:

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.

However, the implementation gives importance to the input over the module:

animation: {
        ...this._globalOptions.animation,
        ...(this._animationMode === 'NoopAnimations' ? {enterDuration: 0, exitDuration: 0} : {}),
        ...this.animation
      },

Affected documentation page: https://material.angular.io/components/ripple/api#RippleGlobalOptions

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/coredocsThis issue is related to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions