UNPKG

wsuite-notification

Version:

Toast notification for angular 2,4,5,6,7,8+ version.

18 lines (17 loc) 735 B
import { OnInit, OnDestroy } from '@angular/core'; import { NotificationService } from '../../services/notification.service'; import { Notification } from '../../model/notification'; import { DomSanitizer } from '@angular/platform-browser'; export declare class NotificationComponent implements OnInit, OnDestroy { private notificationSvc; private domSanitizer; notifications: Notification[]; private subscription; constructor(notificationSvc: NotificationService, domSanitizer: DomSanitizer); private _addNotification; ngOnInit(): void; ngOnDestroy(): void; close(notification: Notification): void; className(notification: Notification): string; setIcon(notification: Notification): any; }