Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NotificationManager<Identifier>

Type parameters

  • Identifier: string

Hierarchy

Implements

Index

Properties

Protected callbacks

callbacks: object

An array of callbacks per event name

Type declaration

  • [eventName: string]: function[]

debugEvents

debugEvents: boolean = false

Protected hidden

hidden: object

Type declaration

  • [index: string]: boolean

Methods

dispatch

  • dispatch<T>(name: T, payload: Payloads[T]): void

Protected Abstract doHideNotification

  • doHideNotification(identifier: Identifier | string): void

Protected Abstract doShowNotification

  • doShowNotification(notification: Notification<Identifier | string>): void

forceHidden

  • forceHidden(identifier: string | Identifier, hidden?: boolean): void

hideNotification

  • hideNotification(identifier: Identifier | string): void

Abstract isShown

  • isShown(identifier: Identifier | string): boolean

off

on

once

showNotification

Generated using TypeDoc