MCPcopy
hub / github.com/callumalpass/tasknotes / showTextInputModal

Function showTextInputModal

src/modals/TextInputModal.ts:140–146  ·  view source on GitHub ↗
(
	app: App,
	options: TextInputModalOptions
)

Source from the content-addressed store, hash-verified

138 * Utility function to show text input modal
139 */
140export async function showTextInputModal(
141 app: App,
142 options: TextInputModalOptions
143): Promise<string | null> {
144 const modal = new TextInputModal(app, options);
145 return modal.show();
146}

Callers 4

buildMenuMethod · 0.90
openContextInputMethod · 0.90
openTagInputMethod · 0.90
openBatchTagInputMethod · 0.90

Calls 1

showMethod · 0.95

Tested by

no test coverage detected