UNPKG

wsuite-notification

Version:

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

16 lines (15 loc) 701 B
import { Notification, WsuiteNotificationConfig } from "../model/notification"; import { Observable } from "rxjs"; export declare class NotificationService { private notificationSubject; private nidx; private timeout; constructor(config: WsuiteNotificationConfig); getObservable(): Observable<Notification>; info(title: any, message: any, timeout?: number): void; success(title: any, message: any, timeout?: number): void; warning(title: any, message: any, timeout?: number): void; error(title: any, message: any, timeout?: number): void; darkgray(title: any, message: any, timeout?: number): void; blue(title: any, message: any, timeout?: number): void; }