@tauri-apps/plugin-dialog - v2.3.1
    Preparing search index...

    Interface SaveDialogOptions

    Options for the save dialog.

    2.0.0

    interface SaveDialogOptions {
        title?: string;
        filters?: DialogFilter[];
        defaultPath?: string;
        canCreateDirectories?: boolean;
    }
    Index

    Properties

    title?: string

    The title of the dialog window (desktop only).

    filters?: DialogFilter[]

    The filters of the dialog.

    defaultPath?: string

    Initial directory or file path. If it's a directory path, the dialog interface will change to that folder. If it's not an existing directory, the file name will be set to the dialog's file name input and the dialog will be set to the parent folder.

    On mobile the file name is always used on the dialog's file name input. If not provided, Android uses (invalid).txt as default file name.

    canCreateDirectories?: boolean

    Whether to allow creating directories in the dialog. Enabled by default. macOS Only