ElectronOpenDialogSyncOptions
Unofficial
Options for Electron synchronous open file dialog.
Import:
import type { ElectronOpenDialogSyncOptions } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface ElectronOpenDialogSyncOptionsProperties
| 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. | |
| properties? | Array< | 'createDirectory' | 'dontAddToRecent' | 'multiSelections' | 'noResolveAliases' | 'openDirectory' | 'openFile' | 'promptToCreate' | 'showHiddenFiles' | 'treatPackageAsDirectory' > | The dialog behavior properties. | |
| securityScopedBookmarks? | boolean | Whether to create security scoped bookmarks when packaged for the Mac App Store (macOS, mas only). | |
| title? | string | The dialog title. |