Error Toast component.
Displays temporary toast notifications for error or success messages. Messages are managed through the global ErrorService.
ErrorService
Provides a simple UI for showing and dismissing error messages.
Selector: app-error-toast Standalone: true
app-error-toast
true
Injected global error service used to access and clear messages.
Closes the toast by clearing all active error and success messages.
Typically triggered when the user clicks a close button on the toast.
<button (click)="closeToast()">✕</button> Copy
<button (click)="closeToast()">✕</button>
Error Toast component.
Displays temporary toast notifications for error or success messages. Messages are managed through the global
ErrorService.Provides a simple UI for showing and dismissing error messages.
Selector:
app-error-toastStandalone:true