projects/ng-snotify/src/lib/interfaces/snotify.interface.ts
Snotify toast params
Properties |
body |
body:
|
Type : string
|
Optional |
Toast message |
config |
config:
|
Type : SnotifyToastConfig
|
Optional |
Config object |
html |
html:
|
Type : string | SafeHtml
|
Optional |
Html content |
title |
title:
|
Type : string
|
Optional |
Toast Title |
import { SnotifyToastConfig } from './snotify-toast-config.interface';
import { SafeHtml } from '@angular/platform-browser';
/**
* Snotify toast params
*/
export interface Snotify {
/**
* Toast Title
*/
title?: string;
/**
* Toast message
*/
body?: string;
/**
* Config object
*/
config?: SnotifyToastConfig;
/**
* Html content
*/
html?: string | SafeHtml;
}