blessed-components - v1.20.0
    Preparing search index...

    Interface ToastHandle

    Imperative handle returned by toast.

    interface ToastHandle {
        add(toast: ToastItem): readonly ToastItem[];
        clear(): readonly ToastItem[];
        dismiss(id: string): readonly ToastItem[];
        items(): readonly ToastItem[];
        prune(now: number): readonly ToastItem[];
        element: BoxElement;
        destroy(): void;
        setData(data: ToastData): void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    element: BoxElement

    Underlying Blessed element available for standard element operations.

    Methods