UNPKG

@igo2/core

Version:
22 lines (21 loc) 617 B
import { TemplateRef } from '@angular/core'; import { IndividualConfig } from 'ngx-toastr'; import { MessageType } from './message.enum'; export interface Message { title?: string; text?: string; html?: string | TemplateRef<any>; type?: MessageType; options?: MessageOptions; format?: 'text' | 'html'; textInterpolateParams?: object; titleInterpolateParams?: object; showIcon?: boolean; } export interface MessageOptions extends IndividualConfig { template?: string; from?: Date | string; to?: Date | string; id?: number; showOnEachLayerVisibility?: boolean; }