Skip to content

NumberInputPromptOptions

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


initialValue?

optional initialValue: number

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

Defined in

jsEngine/api/PromptAPI.ts:95


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


title

title: string

The title of the modal.

Inherited from

ModalPromptOptions.title

Defined in

jsEngine/api/PromptAPI.ts:20