combo-box(key, value, ..., key, value)
Inserts a combobox control in generated content. This control can be used to edit the value of the element which is the target of the CSS rule. If "attribute, attribute_name" is specified, this control can be used to edit the value of an attribute of this target element.
| Key | Value | Default | Description |
|---|---|---|---|
| attribute | Qualified name of attribute to be edited | No default | Without this parameter, the control is used to edit the value of the element for which the control has been generated. |
| labels | List of strings separated by new lines ("\A ") | None (use values as labels) | Labels used for the combobox items. The order of labels must match the order of values. |
| values | List of strings separated by new lines ("\A ") | None (dynamically determined by examining the data type of value to be edited) | Clicking on combobox item #N sets the element or attribute value being edited to value string #N. |
Key, value, ..., key, value may also specify style parameters.
Examples:
combo-box(attribute, value)
combo-box(labels, "Green\A Blue\A Red",
values, "green\A blue\A red")