UNPKG

870 BTypeScriptView Raw
1import { OnInit, OnDestroy } from '@angular/core';
2import { ToasterConfig } from './toaster-config';
3import { ToasterService } from './toaster.service';
4import { Toast } from './toast';
5export declare class ToasterContainerComponent implements OnInit, OnDestroy {
6 private addToastSubscriber;
7 private clearToastsSubscriber;
8 private toasterService;
9 toasterconfig: ToasterConfig;
10 toasts: Toast[];
11 constructor(toasterService: ToasterService);
12 ngOnInit(): void;
13 click(toast: Toast, isCloseButton?: boolean): void;
14 childClick($event: any): void;
15 removeToast(toast: Toast): void;
16 private registerSubscribers;
17 private addToast;
18 private isLimitExceeded;
19 private removeAllToasts;
20 private clearToasts;
21 private clearToastsAction;
22 private toastIdOrDefault;
23 private isNullOrUndefined;
24 ngOnDestroy(): void;
25}