Skip to content

ElectronSaveDialogSyncOptions

Unofficial

Options for Electron synchronous save file dialog.

Import:

import type { ElectronSaveDialogSyncOptions } from '@obsidian-typings/obsidian-catalyst-latest';

Signature:

export interface ElectronSaveDialogSyncOptions

Properties

Property Type Description
buttonLabel? string The label for the confirmation button.
defaultPath? string The default path to open the dialog at.
filters? ElectronFileFilter[] The file filters to display.
message? string The message to display above the dialog on macOS.
nameFieldLabel? string The label for the file name text field on macOS.
properties? Array<'createDirectory' | 'dontAddToRecent' | 'showHiddenFiles' | 'showOverwriteConfirmation' | 'treatPackageAsDirectory'> The dialog behavior properties.
securityScopedBookmarks? boolean Whether to create a security scoped bookmark when packaged for the Mac App Store (macOS, mas only).
showsTagField? boolean Whether to show the tags field on macOS.
title? string The dialog title.