Parameters
Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.
interface Parameters { title?: string, text?: string, defaultValue?: string, maxLength?: number, filterProfanity?: boolean}
A dictionary of parameters.
Variables
Section titled “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 |