Strata - v1.4.10
    Preparing search index...

    Interface NotificationPreset

    interface NotificationPreset {
        animationIn?: string;
        animationOut?: string;
        backgroundColor?: string;
        borderColor?: string;
        description: string;
        dismissible?: boolean;
        duration?: number;
        icon?: string;
        id?: string;
        message?: string;
        name: NotificationPresetName;
        onDismiss?: () => void;
        position?: UIAnchor;
        progress?: boolean;
        textColor?: string;
        title?: string;
        type?: "error" | "info" | "success" | "warning";
    }

    Hierarchy

    Index

    Properties

    animationIn?: string

    Name of the entry animation.

    animationOut?: string

    Name of the exit animation.

    backgroundColor?: string

    CSS-compatible background color string.

    borderColor?: string

    CSS-compatible border color string.

    description: string
    dismissible?: boolean

    Whether the user can manually close the notification.

    duration?: number

    Duration in milliseconds before auto-hiding.

    icon?: string

    Path to an icon image or emoji character.

    id?: string

    Unique identifier for the notification.

    message?: string

    Main text message to display.

    onDismiss?: () => void

    Callback fired when the notification is dismissed.

    position?: UIAnchor

    Screen corner anchor point.

    progress?: boolean

    Whether to show a countdown progress bar.

    textColor?: string

    CSS-compatible text color string.

    title?: string

    Optional bold heading.

    type?: "error" | "info" | "success" | "warning"

    Visual style category.