Skip to content

selectSettingsRecoveryCopy

Lists recovery copies and lets the user pick one to restore, or one whose text to copy when it cannot be restored as it is.

Import:

import { selectSettingsRecoveryCopy } from '@mnaoumov/obsidian-lib/modals/settings-recovery-copies';

Signature:

function selectSettingsRecoveryCopy(params: SelectSettingsRecoveryCopyParams): Promise<SettingsRecoveryCopySelection | null>

Parameters:

Parameter Type Description
params SelectSettingsRecoveryCopyParams The parameters.

Returns: Promise<SettingsRecoveryCopySelection | null> — A Promise that resolves with the user’s choice, or null when the user closed the modal.


Links to this page: