DialogContextConstructorParams
Parameters for constructing a DialogContext.
Import:
import type { DialogContextConstructorParams } from '@mnaoumov/obsidian-lib/modals/dialog-context';Signature:
export interface DialogContextConstructorParamsProperties
| Property | Type | Description |
|---|---|---|
| app? | App | The Obsidian app the real modals open in. Leave it out only in a test whose driver answers every request; a request passed through then throws. |
| driver? | DialogDriver | The driver consulted before each dialog opens. Leave it out in production, so every dialog is the real modal. |