foo-webview-sdk
    Preparing search index...

    Interface DialogConfirmParams

    Parameters for dialog.confirm. Show a modal task dialog with custom buttons. Escape and the close button do not dismiss it.

    interface DialogConfirmParams {
        buttons?: string[];
        defaultButton?: number;
        message?: string;
        title?: string;
        type?: "error" | "info" | "warning" | "question";
    }
    Index
    buttons?: string[]

    Button labels, in order. Defaults to OK and Cancel, localized to the UI language.

    defaultButton?: number

    Index of the initially focused button.

    0
    
    message?: string

    Body text.

    ""
    
    title?: string

    Window title. Defaults to "Confirm", localized to the UI language.

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

    Icon. The task dialog shows question with the information icon.

    "question"