@fradev/ng-snotify
Version:
Angular 2+ notifications center
27 lines (26 loc) • 509 B
TypeScript
import { SnotifyToastConfig } from './SnotifyToastConfig.interface';
import { SafeHtml } from '@angular/platform-browser';
/**
* Snotify toast params
*/
export interface Snotify {
/**
* Toast Title
* @type {string}
*/
title?: string;
/**
* Toast message
* @type {string}
*/
body?: string;
/**
* Config object
* @type {SnotifyToastConfig}
*/
config?: SnotifyToastConfig;
/**
* Html content
*/
html?: string | SafeHtml;
}