Skip to content

AlertParams

Parameters for AlertModal.

Import:

import type { AlertParams } from 'obsidian-dev-utils/obsidian/modals/alert';

Signature:

export interface AlertParams 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)
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: