File

projects/ng-snotify/src/lib/interfaces/snotify.interface.ts

Description

Snotify toast params

Index

Properties

Properties

body
body: string
Type : string
Optional

Toast message

config
config: SnotifyToastConfig
Type : SnotifyToastConfig
Optional

Config object

html
html: string | SafeHtml
Type : string | SafeHtml
Optional

Html content

title
title: string
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;
}

result-matching ""

    No results matching ""