Class Notifier

Notify factory

Example

Notifier.error("Oops!");

Hierarchy

  • Notifier

Constructors

Methods

Constructors

Methods

  • Show an error toast

    Parameters

    • msg: any

      any string or object with a message property

    • timeout: number = 0

      Timeout in seconds before it automatically disappears. It also dissappears on any mouseclick

    Returns Message

  • Show a notice toast

    Parameters

    • msg: string
    • timeout: number = 3000

    Returns Message

  • Show success toast

    Parameters

    • msg: string
    • timeout: number = 3000

    Returns Message

  • Show a warning toast

    Parameters

    • msg: string
    • timeout: number = 3000

    Returns Message

Generated using TypeDoc