Skip to content

ButtonPromptOptions

Defined in: jsEngine/api/PromptAPI.ts:27

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>[]

Defined in: jsEngine/api/PromptAPI.ts:35

A list of buttons to display in the modal.


classes?

optional classes: string[]

Defined in: jsEngine/api/PromptAPI.ts:24

A list of CSS classes to apply to the modal.

Inherited from

ModalPromptOptions.classes


content?

optional content: string

Defined in: jsEngine/api/PromptAPI.ts:31

Text content to display in the modal.


title

title: string

Defined in: jsEngine/api/PromptAPI.ts:20

The title of the modal.

Inherited from

ModalPromptOptions.title