This is different to a normal selection box because it allows tooltips on the items within the list.
The selection box.
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.
the container came from optionsPage()
the new selection box
will be formatted as a table row.
object
A dictionary with two optional keys;
'name' gives the label to display and 'help' gives HTML help text.
'help' has no effect unless 'name' is also present.
Array.<int>
An array of the IDs of the options
in the selection.
object
A dictionary whose keys are the
IDs of the options in the selection, the values are more dictionaries.
These dictionaries have two optional keys; 'name'
(giving
the name to display for this option) and 'help'
(giving tooltip
HTML text).
string
ID of the option to start selecting (optional)
function
The (nullary) function to call when the
value changes (optional)