add getItem and getItemIndex to docs.

This commit is contained in:
Christopher Jeffrey 2014-04-26 01:09:18 -05:00
parent 44256dcf70
commit 6694b35ee4
1 changed files with 4 additions and 0 deletions

View File

@ -561,6 +561,10 @@ A scrollable list which can display selectable items.
- inherits all from Box.
- **add/addItem(text)** - add an item based on a string.
- **getItemIndex(child)** - returns the item index from the list. child can be
an element, index, or string.
- **getItem(child)** - returns the item element. child can be an element,
index, or string.
- **removeItem(child)** - removes an item from the list. child can be an
element, index, or string.
- **clearItems()** - clears all items from the list.