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(snack-bar): inject data and MdSnackBarRef into custom snack-bar component #5383

Merged
merged 2 commits into from
Jul 11, 2017

Commits on Jul 8, 2017

  1. feat(snack-bar): inject data and MdSnackBarRef into custom snack-bar …

    …component
    
    * Injects the `MdSnackBarRef` into custom snack bar instances.
    * Adds the option to inject arbitrary data into a snack bar.
    * Turns the `DialogInjector` into a `PortalInjector` to allow it to be used elsewhere (e.g. the snack-bar).
    * Minor tweaks to the `SimpleSnackBar` to get it to use the new DI tokens instead of assigning data directly to the component instance.
    
    Fixes angular#5371.
    crisbeto committed Jul 8, 2017
    Configuration menu
    Copy the full SHA
    db01363 View commit details
    Browse the repository at this point in the history
  2. fix: lint and aot errors

    crisbeto committed Jul 8, 2017
    Configuration menu
    Copy the full SHA
    3b488b1 View commit details
    Browse the repository at this point in the history