UNPKG

alert-notification

Version:

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

19 lines (18 loc) 682 B
import { Alert } from './alert-notification.module'; export declare class AlertService { private position; private interval; private autodismiss; alerts: Alert[]; private positionUpdated; private alertUpdated; getPosition(): string; setPosition(position: string): void; getPositionUpdateListner(): import("rxjs").Observable<string>; getAlerts(): Alert[]; push(newId: string, newType: string, newTitle: string, newMessage: string): void; removeAlert(id: string): void; getAlertUpdateListner(): import("rxjs").Observable<Alert[]>; setInterval(time: number): void; setAutoDismiss(dismiss: boolean): void; }