Parameters
interface Parameters {
title?: string,
text?: string,
defaultValue?: string,
maxLength?: number,
filterProfanity?: boolean
}
A dictionary of parameters.
Variables
Variable | Type | Description |
---|---|---|
title | optional, string | The title of the dialog displayed to the user |
text | optional, string | A short piece of text to display above the text entry box |
defaultValue | optional, string | A value to pre-fill the text entry box with |
maxLength | optional, number | The maximum length of the user's entry in number of characters |
filterProfanity | optional, boolean | If true Z.Prompt will attempt to replace expletives with random punctuation |