UNPKG

@versatiledatakit/shared

Version:

Versatile Data Kit Shared library enables reusability of shared features like: NgRx Redux, Error Handlers, Utils, Generic Components, etc.

18 lines (17 loc) 578 B
import { Subject } from 'rxjs'; import { Toast } from '../model'; import * as i0 from "@angular/core"; export declare class ToastService { notificationsSubject: Subject<Toast>; private notification$; /** * ** Get subscribable stream, that raise new Events when new Toast should be shown. */ getNotifications(): import("rxjs").Observable<Toast>; /** * ** Show Toast message. */ show(toast: Toast): void; static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>; }