Skip to content

ScriptedDialogValueProviderStep<Kind>

A step that derives its answer from the observed request, for instance to assert on the dialog’s parameters.

Import:

import type { ScriptedDialogValueProviderStep } from '@mnaoumov/obsidian-lib/modals/scripted-dialog-driver';

Signature:

export interface ScriptedDialogValueProviderStep<Kind extends DialogKind>

Properties

PropertyTypeDescription
isPassthrough?falseMarks the step as an answer.
valueProvider(request: DialogRequest<Kind>) => Promisable<DialogResultMap[Kind]>Derives the answer from the request.

Links to this page: