Alerts
Alerts can be used for different purposes such as showing a success or error message or asking the user for an input.
Last updated
Alerts can be used for different purposes such as showing a success or error message or asking the user for an input.
Last updated
We created a AlertTemplateComponent
which is defined in the Shared module to encapsulate the logic and markup of this Alert component.
To display the alerts we use the Material Dialog component.
In src/app/utilities/alerts/alerts.component.html
you can find some of the different alerts you can create using this AlertTemplateComponent
.
You can pass the following options to the alerts component: