Custom content for Snackbar which allows use icon as action.
snackBar.openFromComponent(SnackbarContentComponent, { data: { message: 'Some message', actionLabel: "Some action label", showAction: true } });
Snackbar allows using action as string by default which causes that there is no possibility to use mat-icon inside snackbar's content. That custom content for Angular material Snackbar allows for that.
© 2023 Alfresco Software, Inc. All Rights Reserved.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.