GeoLeaf Core API - v3.0.0
    Preparing search index...

    Configuration object accepted by NotificationSystem.init().

    All fields are optional — missing fields retain their built-in defaults.

    interface INotificationInitConfig {
        container?: string;
        maxVisible?: number;
        maxPersistent?: number;
        durations?: Partial<Record<NotifyType, number>>;
        position?: string;
        animations?: boolean;
    }
    Index

    Properties

    container?: string

    CSS selector of the notification container element.

    "#gl-notifications"
    
    maxVisible?: number

    Maximum number of simultaneously visible temporary toasts.

    3
    
    maxPersistent?: number

    Maximum number of simultaneously visible persistent toasts.

    2
    
    durations?: Partial<Record<NotifyType, number>>

    Per-type auto-dismiss durations in milliseconds.

    position?: string

    Toast anchor position.

    "bottom-center"
    
    animations?: boolean

    Whether CSS enter/exit animations are enabled.

    true