Skip to content

DialogParamsMap

The parameters a dialog of each kind is shown with, without the app and the interaction id.

Import:

import type { DialogParamsMap } from '@mnaoumov/obsidian-lib/modals/dialog-context';

Signature:

export interface DialogParamsMap

Properties

PropertyTypeDescription
alertExcept<AlertParams, 'app'>The parameters of an alert.
confirmExcept<ConfirmParams, 'app'>The parameters of a confirm.
promptExcept<PromptParams, 'app'>The parameters of a prompt.
selectItemExcept<SelectItemParams<unknown>, 'app'>The parameters of a selectItem.
selectOptionExcept<SelectOptionParams<unknown>, 'app'>The parameters of a selectOption.

Links to this page: