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
| Property | Type | Description |
|---|---|---|
| isPassthrough? | false | Marks the step as an answer. |
| valueProvider | (request: DialogRequest<Kind>) => Promisable<DialogResultMap[Kind]> | Derives the answer from the request. |
Links to this page: