Skip to main content
Version: Next

AlertStore

Index

Properties

alertIcon

alertIcon: any = undefined

alertText

alertText: any = ""

alertType

alertType: AlertType = AlertType.Info

interactiveAlertText

interactiveAlertText: any = ""

isAlertVisible

isAlertVisible: boolean = false

shouldShowDashboardLink

shouldShowDashboardLink: boolean = false

Accessors

publicstaticInstance

Methods

dismissAlert

  • dismissAlert(): void
  • Returns void

handleInteractiveAlertClosed

  • handleInteractiveAlertClosed(isConfirmed: boolean): void
  • Parameters

    • isConfirmed: boolean

    Returns void

showAlert

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

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

    Returns void

showInteractiveAlert

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

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

    Returns Promise<boolean>

showRetryAlert

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

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

    Returns Promise<boolean>