Options
All
  • Public
  • Public/Protected
  • All
Menu

Alert

Hierarchy

Index

Properties

Optional _bootstrapObj

_bootstrapObj: any

The bootstrap object

close

close: () => void

Closes an alert by removing it from the DOM.

Type declaration

    • (): void
    • Returns void

dispose

dispose: () => void

Disposes the alert.

Type declaration

    • (): void
    • Returns void

el

el: Element | HTMLElement

The component HTML element

props

The component properties

setText

setText: (alertText?: string) => void

Updates the alert text.

Type declaration

    • (alertText?: string): void
    • Parameters

      • Optional alertText: string

      Returns void

setType

setType: (alertType: number) => void

Updates the alert type.

Type declaration

    • (alertType: number): void
    • Parameters

      • alertType: number

      Returns void

Methods

configureParent

  • configureParent(): Element
  • Internal method to configure the parent element.

    Returns Element

hide

  • hide(): void
  • Hides the component.

    Returns void

show

  • show(): void
  • Shows the component.

    Returns void

Generated using TypeDoc