Hi all,
I would like to use snackbar component for notifications in our application. I want to know if we can have different color combinations for success and error and similarly some others according to the requirement.
I have looked into customising snack bar but that is at the app level and for a single instance which would apply all over the application.
Thanks in advance.
Thanks Mihoko for the quick response. It worked!
Hello Rameez,
Thank you for contacting Infragistics Developer Support.
You can style individual snack bars by setting an id to IgxSnackbarComponent and define css class for each instance.
I have created a sample for you.
https://stackblitz.com/edit/github-nmwp8s-4pmdux?file=src/app/snackbar-sample-1/snackbar-sample-1.component.html