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

    Interface ToastStackStateModel

    Controlled Toast stack state model.

    interface ToastStackStateModel {
        add(toast: ToastItem): readonly ToastItem[];
        clear(): readonly ToastItem[];
        dismiss(id: string): readonly ToastItem[];
        list(): readonly ToastItem[];
        prune(now: number): readonly ToastItem[];
        setOptions(options: CreateToastStackStateOptions): readonly ToastItem[];
    }
    Index

    Methods