It is very easy to implement Toastr Notification in an angular project.
Step 1: Open CMD and run the below command.
npm install ngx-toastr --save
Step 2: Import the ToastrModule and BrowserAnimationsModule class to the app.module.ts file.
Step 3: All done. Now you can use toastr in your .ts file.
Output
0 Comments