mirror of
https://github.com/embarklabs/neo-blessed.git
synced 2025-02-02 06:07:36 +00:00
add getItem and getItemIndex to docs.
This commit is contained in:
parent
44256dcf70
commit
6694b35ee4
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user