Skip to content

InputPromptOptions

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

Extends

Properties

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


initialValue?

optional initialValue: string

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

Defined in

jsEngine/api/PromptAPI.ts:80


placeholder?

optional placeholder: string

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

Defined in

jsEngine/api/PromptAPI.ts:76


title

title: string

The title of the modal.

Inherited from

ModalPromptOptions.title

Defined in

jsEngine/api/PromptAPI.ts:20