Skip to content

modals/prompt

Utility for displaying a prompt modal in Obsidian.

This module exports a function to display a modal that prompts the user for input. The modal includes “OK” and “Cancel” buttons.

Interface Description
PromptParams Options for prompt.
Function Description
prompt Displays a prompt modal in Obsidian to get user input.