Skip to content

InputPromptOptions

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

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

Extends

Properties

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:72

Text content to display in the modal.


initialValue?

optional initialValue: string

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

The initial value of the input field that is pre-filled when the modal is opened.


placeholder?

optional placeholder: string

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

The placeholder text for the input field. This will show when the input field is empty.


title

title: string

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

The title of the modal.

Inherited from

ModalPromptOptions.title