Remember that this library also works with Ionic. You can check out the test project, which presents an Ionic template project with the installation of ng-fast-toast. Visit the project
Prerequisites
To install and use this library, your project must meet the following minimum requirements:
-
Angular: This library is compatible only with Angular 18 or higher.
Dependency Minimum Required Version @angular/common
>=18.2.0
@angular/core
>=18.2.0
rxjs
^7.8.0
You have a blank Angular project with the ng-fast-toast library installed, in case you want to run it and verify its functionality.
If the listed prerequisites are met, we can proceed with the installation of the library.
Install the library
To integrate toast notifications into your Angular project, you need to install the ng-fast-toast
library. This package provides an easy-to-use service for displaying customizable toast notifications.
Run the following command to install it:
npm i ng-fast-toast@latest
If you want more information about the npm package, check out its official npm page.
Usage
Now weโre ready to start using ng-fast-toast. For that, letโs head to the usage documentation:
Usage How to use ng-fast-toast to display toast notifications in your Angular project.