Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ripple): support animation duration overwrites #9253

Merged

Commits on Jan 24, 2018

  1. feat(ripple): support animation duration overwrites

    * Adds a new option to the ripples that allows developers to have a better control of the animation (all ripples, or even individual ripples).
    * Deprecates the `matRippleSpeedFactor` in favor of the `matRippleAnimation` binding that accepts a `RippleAnimationConfig`. The configuration is more explicit, clean and not confusing as the `speedFactor`.
    * To provide a more user-friendly `launch()` method API, the passed ripple config will extend the default ripple config from the `MatRipple` instance (removes unnecessary bloat; requested in angular#4179 (comment))
    * Disables ripples for most of the demo buttons in the ripple demo (allows better debugging; when pressing the buttons)
    devversion committed Jan 24, 2018
    Configuration menu
    Copy the full SHA
    ea98b5d View commit details
    Browse the repository at this point in the history