Added docs on the new `search` option for List's

This commit is contained in:
Bulkan Evcimen 2014-05-07 09:29:34 +10:00
parent 7df11051e6
commit 11ba4dad59
1 changed files with 1 additions and 0 deletions

View File

@ -545,6 +545,7 @@ A scrollable list which can display selectable items.
- **keys** - use predefined keys for navigating the list.
- **vi** - use vi keys with the `keys` option.
- **items** - an array of strings which become the list's items.
- **search** - a function that is called when `vi` mode is enabled and the key `/` is pressed. This function accepts a callback function which should be called with the search string. The search string is then used to jump to an item that is found in `items`.
##### Properties: