Class definition

Hierarchy

  • BaseComponent
    • Toast

Constructors

Properties

_config: any
_element: any
_hasKeyboardInteraction: boolean
_hasMouseInteraction: boolean
_timeout: Timeout

Accessors

  • get Default(): {
        animation: boolean;
        autohide: boolean;
        delay: number;
    }
  • Returns {
        animation: boolean;
        autohide: boolean;
        delay: number;
    }

    • animation: boolean
    • autohide: boolean
    • delay: number
  • get DefaultType(): {
        animation: string;
        autohide: string;
        delay: string;
    }
  • Returns {
        animation: string;
        autohide: string;
        delay: string;
    }

    • animation: string
    • autohide: string
    • delay: string

Methods

  • Parameters

    • callback: any
    • element: any
    • isAnimated: boolean = true

    Returns void

  • Parameters

    • config: any
    • configTypes: any = ...

    Returns void

  • Parameters

    • element: any
    • config: {} = {}

      Returns any