items([items])
Class: ComboBox.
Description:
Sets or gets an array of list items. When setting, all existing items in the list will be removed before new ones are added.
Parameters:
| Name | Type | Description |
|---|---|---|
|
|
Array.<(string|number|ListItem)> |
Items as an Array of objects, strings or numbers. Can be a mix of these types. For item Object's format check out add() method example . |
Returns:
When getting, an Array is returned, otherwise this component instance is returned.
