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?
optionalclasses:string[]
Defined in: jsEngine/api/PromptAPI.ts:24
A list of CSS classes to apply to the modal.
Inherited from
content?
optionalcontent:string
Defined in: jsEngine/api/PromptAPI.ts:72
Text content to display in the modal.
initialValue?
optionalinitialValue: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?
optionalplaceholder: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.