Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NotificationService

NotificationService will notify using Desktop Notifications https://developer.mozilla.org/en-US/docs/Web/API/notification Can change icons by setting iconPath in the AppConfig if needed

Hierarchy

  • NotificationService

Index

Constructors

constructor

Properties

Private config

config: AppConfig

iconPath

iconPath: string

Methods

displayErrorMessage

  • displayErrorMessage(body: string): void

displayInfoMessage

  • displayInfoMessage(body: string): void

displayMessage

  • displayMessage(title: string, body: string, type: string): void

displaySuccessMessage

  • displaySuccessMessage(body: string): void

Generated using TypeDoc