Trilium Frontend API
    Preparing search index...

    Interface ToastOptions

    interface ToastOptions {
        buttons?: {
            onClick: (api: { dismissToast: () => void }) => void;
            text: string;
        }[];
        icon: string;
        id?: string;
        message: string;
        progress?: number;
        timeout?: number;
        title?: string;
    }
    Index

    Properties

    buttons?: { onClick: (api: { dismissToast: () => void }) => void; text: string }[]
    icon: string
    id?: string
    message: string
    progress?: number
    timeout?: number
    title?: string