Constructor
new TextSettingMetadata(…args)
Passes the parameters to the superclass for initialization, then marks this setting as one that should be represented in the UI using a text input widget (a single-line input control, not a multi-line editor).
Parameters
-
args
any
<repeatable>
same arguments as for the superclass constructor, plus an optional validator function that will be used as the implementation of validate() for this instance. (See the signature documented there for details.)
Source
Classes
Methods
validate()
Validate the contents of the setting, if the user provided a validator function at construction time. Otherwise, just do what the superclass does. See validate() for details.