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

Add support for Angular 5. #93

Open
damiandennis opened this issue Nov 8, 2017 · 8 comments
Open

Add support for Angular 5. #93

damiandennis opened this issue Nov 8, 2017 · 8 comments

Comments

@damiandennis
Copy link

  • I'm submitting a ...
    [ ] bug report
    [ ] feature request
    [ ] question about the decisions made in the repository

  • Do you want to request a feature or report a bug?

  • What is the current behavior?

  • If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar.

  • What is the expected behavior?

  • What is the motivation / use case for changing the behavior?

  • Please tell us about your environment:

  • Angular version: 2.0.0-rc.X
  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
@timwright35
Copy link

This is very vague. I am looking into this plugin to use but am on angular 5. What is the issue it is saying it is having?

@aakldey
Copy link

aakldey commented Nov 17, 2017

I got no errors, when I call toastyService.error it doesn't show notification

@rmcsharry
Copy link

I think you must be doing something wrong, as ngx-toastr does work in Angular 5.

You can see it working here - just select Tools menu, Toaster and you can test it out. That framework is using Angular 5.

@aakldey
Copy link

aakldey commented Nov 22, 2017

No, they use different library, it's not ng2-toasty, it's ngx-toastr. I have angular 4 project and it works ok there, but doesn't work in angular 5 project with same setup. It seems this project is dead, so I found alternative

@rmcsharry
Copy link

Oh sorry you are right - they used to use this library, but I guessed they switched to ngx-toaste. Apologies.

@damiandennis
Copy link
Author

damiandennis commented Dec 9, 2017 via email

@Sunsvision
Copy link

It works for Angular 5. All you need is to add this html to your app.component.html
<ng2-toasty></ng2-toasty>
This template will not show any Toasty message on app component loaded untill you call this._toastyService.default('Hi there'); from any of your components

@damiandennis
Copy link
Author

damiandennis commented Feb 17, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants