@vernonia/core - v5.1.12
    Preparing search index...

    Options to show alert.

    interface AlertOptions {
        duration?: "medium" | "fast" | "slow";
        icon?: string;
        kind?: "success" | "info" | "warning" | "danger" | "brand";
        label: string;
        link?: { click?: () => void; href?: string; text: string };
        message: string;
        title?: string;
        width?: number;
    }
    Index

    Properties

    duration?: "medium" | "fast" | "slow"

    Alert auto close duration. Also sets auto-close property.

    icon?: string

    Alert icon.

    kind?: "success" | "info" | "warning" | "danger" | "brand"

    Alert kind.

    'brand'
    
    label: string

    Alert accessible label (required).

    link?: { click?: () => void; href?: string; text: string }

    Alert link options.

    Type Declaration

    • Optionalclick?: () => void

      Link click event.

    • Optionalhref?: string

      Link href. Also sets target="_blank".

    • text: string

      Link text.

    message: string

    Alert message (required).

    title?: string

    Alert title.

    width?: number

    Width of alert in pixels.