Values outside the permitted range will gain the "invalid" class, but there is no other effect.
Text input control.
string
when getData
or setData
is
called on the container, the value at 'id'
refers to this
selector. The HTML id is set to 'param-' + id
.
toolkit.HTMLContainerElement
[optional] Where to put the control.
object
Optional mapping: translations.id
is the name of the control to be displayed and translations.help
is help text to be displayed if the user hovers over the label
string
Optional initial value for the control
function
Optional function to be called whenever the
input value changes
float
Minimum permitted value (optional).
float
Maximum permitted value (optional).