Added docs on the new `search` option for List's
This commit is contained in:
parent
7df11051e6
commit
11ba4dad59
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue