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

    Options accepted by all Notifications.* methods.

    All fields are optional. When omitted, the system applies defaults configured at notifications.init() time (or the built-in defaults).

    interface NotifyOptions {
        type?: NotifyType;
        duration?: number;
        persistent?: boolean;
        dismissible?: boolean;
    }
    Index

    Properties

    type?: NotifyType

    Type override — useful when passing options to the generic notify() method. When omitted, the caller's method name determines the type (e.g. Notifications.success() forces type: "success").

    duration?: number

    Auto-dismiss duration in milliseconds. Ignored when persistent is true.

    Built-in defaults per type:

    • info → 3 000 ms
    • success → 3 000 ms
    • warning → 4 000 ms
    • error → 5 000 ms
    persistent?: boolean

    When true, the toast will not be auto-dismissed. The user must close it manually (requires dismissible: true) or the integrator must call Notifications.dismiss() / Notifications.clearAll().

    false
    
    dismissible?: boolean

    When true, a close button is rendered on the toast. The user can dismiss the notification at any time.

    true