Skip to content

ModalBaseConstructorParams<Value>

The parameters for constructing a ModalBase.

Import:

import type { ModalBaseConstructorParams } from 'obsidian-dev-utils/obsidian/modals/modal';

Signature:

export interface ModalBaseConstructorParams<Value> extends ModalParamsBase

Extends: ModalParamsBase

Properties

PropertyTypeDescription
appAppAn Obsidian app instance.
(Inherited from ModalParamsBase)
cssClasses?string[]A CSS class to apply to the modal.
(Inherited from ModalParamsBase)
promiseResolvePromiseResolve<Value>A function to resolve the value of the modal.