Skip to content

ButtonPromptOptions

Basic options for a prompt modal. This interface is used as a base for other prompt options.

Extends

Type Parameters

Type Parameter

T

Properties

buttons

buttons: ButtonPromptButtonOptions<T>[]

A list of buttons to display in the modal.

Defined in

jsEngine/api/PromptAPI.ts:35


classes?

optional classes: string[]

A list of CSS classes to apply to the modal.

Inherited from

ModalPromptOptions.classes

Defined in

jsEngine/api/PromptAPI.ts:24


content?

optional content: string

Text content to display in the modal.

Defined in

jsEngine/api/PromptAPI.ts:31


title

title: string

The title of the modal.

Inherited from

ModalPromptOptions.title

Defined in

jsEngine/api/PromptAPI.ts:20