foo-webview-sdk
    Preparing search index...

    Interface DialogOpenFileParams

    Parameters for dialog.openFile. Show the system dialog for opening files.

    interface DialogOpenFileParams {
        defaultPath?: string;
        filters?: FileFilter[];
        multiple?: boolean;
        title?: string;
    }
    Index
    defaultPath?: string

    Folder the dialog opens in, every time it is shown. %music% expands to the Music folder. Ignored when the path does not resolve to a folder.

    ""
    
    filters?: FileFilter[]

    File type list. When omitted or empty, the dialog shows a single "All Files" entry.

    multiple?: boolean

    Allow selecting several files.

    false
    
    title?: string

    Window title. Defaults to "Open File", localized to the UI language.