It is a standard HTML input control with type color
. The value
returned is a six-hex-digit string prefixed with a #
.
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