I want to implement notifications messages like
"Success! Your Details Added"
"Warning! Something Went Wrong"
"Danger! You don't have access to this"
i am already using angular material in my application can i use 'snack-bar' for notification purpose?
i also found some related toaster at npm
Suggest me if there is an another way to do this.
I use this ngx-toastr, demo
Though you are using angular material so its better to use snack-bar of angular material.
If you want to look for other options then you can also use growl of primeng or message of primeng
You can also write custom code for showing this kind of message you want. But in that case you have to control externally a lot of things like position of that message, timing, dismissing etc
So the choice is absolutely yours.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With