Interface IToastConfig

Toast popup configuration.

interface IToastConfig {
    badge?: { bgColor: string; text: string; textColor: string };
    duration?: number;
    rows: IToastRow[];
    title: string;
}

Properties

badge?: { bgColor: string; text: string; textColor: string }

Badge label and colors

duration?: number

Auto-dismiss after N milliseconds (default: 6000)

rows: IToastRow[]

Key-value rows to display

title: string

Toast title