UNPKG

angular2-toaster-mod

Version:

An Angular 2 Toaster Notification library based on AngularJS-Toaster

43 lines (42 loc) 1.23 kB
import { BodyOutputType } from './bodyOutputType'; export declare class ToasterConfig implements IToasterConfig { limit: number; tapToDismiss: boolean; showCloseButton: boolean | Object; closeHtml: string; newestOnTop: boolean; timeout: number | Object; typeClasses: Object; iconClasses: Object; bodyOutputType: BodyOutputType; bodyTemplate: string; defaultTypeClass: string; positionClass: string; animationClass: string; titleClass: string; messageClass: string; preventDuplicates: boolean; mouseoverTimerStop: boolean; toastContainerId: number; constructor(configOverrides?: IToasterConfig); } export interface IToasterConfig { limit?: number; tapToDismiss?: boolean; showCloseButton?: boolean | Object; closeHtml?: string; newestOnTop?: boolean; timeout?: number | Object; typeClasses?: Object; iconClasses?: Object; bodyOutputType?: BodyOutputType; bodyTemplate?: string; defaultTypeClass?: string; positionClass?: string; animationClass?: string; titleClass?: string; messageClass?: string; preventDuplicates?: boolean; mouseoverTimerStop?: boolean; toastContainerId?: number; }