It’s the npm library made for the Angular 9+
Writing a bunch of code in HTML just to open nice toast is ok if you have time, but in practice is better to open the popup just by calling the method from the typescript.
It’s the npm package ngx-awesome-popup! Well-documented angular library for Toast notifications, cookie banner, confirm box, dynamic dialog, and a few more. In this tutorial, we will go through the toast notification setup.
npm i @costlydeveloper/ngx-awesome-popup
To be able to use this library, it is essential to import
ToastNotificationConfigModule inside your main application module (usually named AppModule), using
Add bolded lines to…