ngx-notification-tray
v1.0.1
Published
Create and display dismissable notifications for Angular 8. Built with Bootstrap and Akita.
Readme
NGX Notification Tray
Create and display dismissable notifications for Angular 8. Built with Bootstrap and Akita.
Installation
Run npm install --save ngx-notification-tray
Module Installation:
import { NotificationTrayModule } from 'ngx-notification-tray';
...
providers: [NotificationTrayModule]
Add to component:
<lib-notification-tray></lib-notification-tray>
Creating notifications:
In your component or service, load the NotificationTrayService
constructor(
private notificationTrayService: NotificationTrayService
)this.notificationService.push('test notification');
this.notificationService.push('item saved', 'Title:', 'warning');