ElectronSaveDialogOptions
Unofficial
Options for Electron save file dialog.
Import:
import type { ElectronSaveDialogOptions } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface ElectronSaveDialogOptionsProperties
| 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. |
Links to this page: