Help prepare for 2025 → Answer 8 simple questions on our Fall Survey
Open Survey
PromptOptions
interface PromptOptions extends ConfirmOptions {
  capitalizationType: string;
  defaultText: string;
  inputType: string;
}
Provides options for the prompt dialog.

Summary

Properties

capitalizationType
defaultText
inputType
2 properties inherited from CancelableOptions
Click to expand
2 properties inherited from ConfirmOptions
Click to expand
2 properties inherited from DialogOptions
Click to expand
1 properties inherited from AlertOptions
Click to expand

Properties

capitalizationType

capitalizationType?: string
Gets or sets the prompt capitalizationType (none, all, sentences, or words).

defaultText

defaultText?: string
Gets or sets the default text to display in the input box.

inputType

inputType?: string
Gets or sets the prompt input type (plain text, password, or email).