UNPKG

@nova-ui/bits

Version:

SolarWinds Nova Framework

23 lines (22 loc) 828 B
import { SafeHtml } from "@angular/platform-browser"; import { Observable } from "rxjs"; import { IToastConfig } from "./public-api"; import { ToastRef } from "./toast-ref"; /** * __Description:__ Represents metadata of a toast. * Used as an injectable entity, that injects into a toast component. */ /** @ignore */ export declare class ToastPackage { toastId: number; config: IToastConfig; body: string | SafeHtml | undefined; title: string | undefined; toastType: string; toastRef: ToastRef<any>; private readonly onClickSubject; constructor(toastId: number, config: IToastConfig, body: string | SafeHtml | undefined, title: string | undefined, toastType: string, toastRef: ToastRef<any>); /** Fires after clicking on toast */ triggerClick(): void; onClick(): Observable<any>; }