* // Individual module import
* import { NotificationServiceModule } from 'patternfly-ng/notification';
* // Or
* import { NotificationServiceModule } from 'patternfly-ng';
*
*
* Optional:
*
* import { Notification, NotificationType } from 'patternfly-ng/notification';
*
*/
@Injectable()
export class NotificationService {
// time (in ms) the notifications are shown
private delay: number = 8000;
private modes: any = {};
private notifications: any = {};
private persist: any = { 'error': true, 'httpError': true };
private verbose: boolean = false;
private _notificationsSubject: Subject