Skip to main content
Version: Next

AlertStore

Index

Properties

alertIcon

alertIcon: any = undefined

alertText

alertText: any = ""

alertType

alertType: AlertType = AlertType.Info

alertVisible

alertVisible: boolean = false

interactiveAlertText

interactiveAlertText: any = ""

showDashboardLink

showDashboardLink: boolean = false

Accessors

staticInstance

Methods

dismissAlert

  • dismissAlert(): void
  • Returns void

handleInteractiveAlertClosed

  • handleInteractiveAlertClosed(confirmed: boolean): void
  • Parameters

    • confirmed: boolean

    Returns void

showAlert

  • showAlert(text: any, icon?: any, showDashboard?: boolean): void
  • Parameters

    • text: any
    • optionalicon: any
    • showDashboard: boolean = false

    Returns void

showInteractiveAlert

  • showInteractiveAlert(text: any, icon?: any, showDashboard?: boolean): Promise<boolean>
  • Parameters

    • text: any
    • optionalicon: any
    • showDashboard: boolean = false

    Returns Promise<boolean>

showRetryAlert

  • showRetryAlert(text: any, icon?: any, showDashboard?: boolean): Promise<boolean>
  • Parameters

    • text: any
    • optionalicon: any
    • showDashboard: boolean = false

    Returns Promise<boolean>