@nextcloud/dialogs
    Preparing search index...

    Interface Options

    interface Options {
        ariaLive?: "assertive" | "off" | "polite";
        avatar?: string;
        backgroundColor?: string;
        callback?: () => void;
        className?: string;
        close?: boolean;
        destination?: string;
        duration?: number;
        escapeMarkup?: boolean;
        gravity?: "top" | "bottom";
        newWindow?: boolean;
        node?: Node;
        offset?: Offset;
        oldestFirst?: boolean;
        onClick?: () => void;
        position?: "left" | "center" | "right";
        selector?: string | Node;
        stopOnFocus?: boolean;
        style?: { [cssRule: string]: string };
        text?: string;
    }
    Index

    Properties

    ariaLive?: "assertive" | "off" | "polite"

    Announce the toast to screen readers

    'polite'
    
    avatar?: string

    Image/icon to be shown before text

    backgroundColor?: string

    use style.background option instead

    callback?: () => void

    Invoked when the toast is dismissed

    className?: string
    close?: boolean
    destination?: string
    duration?: number
    escapeMarkup?: boolean

    Toggle the default behavior of escaping HTML markup

    gravity?: "top" | "bottom"
    newWindow?: boolean
    node?: Node
    offset?: Offset
    oldestFirst?: boolean

    Set the order in which toasts are stacked in page

    onClick?: () => void
    position?: "left" | "center" | "right"
    selector?: string | Node
    stopOnFocus?: boolean
    true
    
    style?: { [cssRule: string]: string }

    HTML DOM Style properties to add any style directly to toast

    text?: string