UNPKG

alert-notification

Version:

A lightweight easy to use module to display alert notifications inside you Angular web applications.

16 lines (15 loc) 548 B
import { OnInit, OnDestroy } from '@angular/core'; import { Subscription } from 'rxjs'; import { Alert } from './alert-notification.module'; import { AlertService } from './alert-notification.service'; export declare class AlertNotificationComponent implements OnInit, OnDestroy { private alertService; position: string; positionSub: Subscription; alerts: Alert[]; alertsSub: Subscription; constructor(alertService: AlertService); ngOnInit(): void; close(id: string): void; ngOnDestroy(): void; }