Skip to content

ConfirmParams

Parameters for confirm.

Import:

import type { ConfirmParams } from 'obsidian-dev-utils/obsidian/modals/confirm';

Signature:

export interface ConfirmParams extends ModalParamsBase

Extends: ModalParamsBase

Properties

PropertyTypeDescription
appAppAn Obsidian app instance.
(Inherited from ModalParamsBase)
cancelButtonText?stringA text for the "Cancel" button.
cssClasses?string[]A CSS class to apply to the modal.
(Inherited from ModalParamsBase)
messageDocumentFragment | stringA message to display in the modal.
okButtonText?stringA text for the "OK" button.
title?DocumentFragment | stringA title of the modal.

Links to this page: