Ngx-toastr: fade in/out fly right/left

Created on 31 Oct 2017  路  8Comments  路  Source: scttcper/ngx-toastr

HI;
I am trying to have some animations on the toast (success/error/info) but I can't make it with this library.
However, I see that there is Pink toast with animation.
What is the trick to have fade in/out fly right/left on these normal toasts?

All 8 comments

cool. thanks for quick response.
I noticed the appearance of normal toasts i.e. success/error/info are also having fade in/out. but mine is flashing to show and disappear. Am I missing something that is not written in the README file?

Have you imported BrowserAnimationsModule?

Yes, I imported it in my app.module.ts

What browser+version and version of angular?

Browser is Chrome Version 61.0.3163.100 (Official Build) (64-bit),
AngularJS is
"@angular/cli": "1.4.4",
"@angular/compiler-cli": "4.0.0",

i think there was pretty big changes in angular ^4.4.0 which might be causing issues.

Are you trying to use custom toast components? If so, can you post your code for us to take a look at?

Was this page helpful?
0 / 5 - 0 ratings