Manages the display of text alerts.

Hierarchy

  • Context
    • TextAlertContext

Constructors

Methods

  • Returns never

  • Displays a text alert with specified options.

    Parameters

    • txt: string

      The text content for the alert.

    • Optionaloptions: TextAlertOptions

      Optional configuration for the text alert appearance and behavior.

    Returns {
        close: (() => void);
    }

    An object that allows for manually closing the text alert

    • close: (() => void)
        • (): void
        • Returns void

Properties

constructorProps: {}

The constructor properties.

contextManager: ContextManager

The current ContextManager

disposed: boolean = false