Options
All
  • Public
  • Public/Protected
  • All
Menu
class
classdesc

Consists of notification related methods

Hierarchy

  • notificationService

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private isWindowFocused

isWindowFocused: boolean = true

Private notifiStack

notifiStack: Array<any> = []

Private win

win: any = window

Methods

Private init

  • init(): void

notify

  • notify(message: string, type: string, ico?: string, data?: string): void
  • function

    notify

    description

    Notifies a user

    Parameters

    • message: string

      the notification message text

    • type: string

      the type of notification whether online or text message

    • Default value ico: string = "https://cdn0.iconfinder.com/data/icons/basic-ui-elements-colored/700/09_bell-3-512.png"

      the notification message icon

    • Optional data: string

      conversation group information

    Returns void