ng2-toasty
ng2-toasty copied to clipboard
Add support for Angular 5.
-
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)
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?
I got no errors, when I call toastyService.error it doesn't show notification
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.
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
Oh sorry you are right - they used to use this library, but I guessed they switched to ngx-toaste. Apologies.
works fine but complains about dependency on Angular <4
On 9 December 2017 at 11:10, Rickey Ward [email protected] wrote:
This project works fine in angular 5.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/akserg/ng2-toasty/issues/93#issuecomment-350411325, or mute the thread https://github.com/notifications/unsubscribe-auth/ABN6zhLvjWYKBk1Bg5JR4GCz3lTKipV4ks5s-d4HgaJpZM4QVrmJ .
-- Damian Dennis
Web Developer and Designer
http://www.damiandennis.com
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
Yes it works but its annoying that it complain about the dependency.....
On 17 February 2018 at 20:47, Victor Sanzharevskiy <[email protected]
wrote:
It works for Angular 5. All you need is to add this html to your app.component.html
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 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/akserg/ng2-toasty/issues/93#issuecomment-366432967, or mute the thread https://github.com/notifications/unsubscribe-auth/ABN6zifCtjO35WRWaEiK5ws4Dz6a-raCks5tVq5NgaJpZM4QVrmJ .
-- Damian Dennis
Web Developer and Designer
http://www.damiandennis.com