Constructor
new SuggestionTracker(suggestions)
Create a SuggestionTracker
- Source:
Parameters:
Name | Type | Description |
---|---|---|
suggestions |
Array.<string>
|
array of suggestion strings |
Members
Methods
cycle(direction)
Cycle through suggestions in a given direction
- Source:
Parameters:
Name | Type | Description |
---|---|---|
direction |
string
|
either 'up' or 'down' |