Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NotificationHelper

The notification helper

Hierarchy

  • NotificationHelper

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Static Private translateService

translateService: TranslateService

The translate service initialized at app startup (app.component)

Methods

Static showNotification

  • showNotification(message: string, icon: string, type: "info" | "success" | "warning" | "danger"): Promise<void>
  • Show a new notification

    Parameters

    • message: string

      The message

    • icon: string

      The icon

    • type: "info" | "success" | "warning" | "danger"

      The type

    Returns Promise<void>

Generated using TypeDoc