Constructor
new Suggestion(data, query)
Parameters:
| Name | Type | Description |
|---|---|---|
data |
Any | The auto-complete data. Ideally an object e.g. { label, value }, which specifies the value and human-presentable label of the suggestion. |
query |
string | The query string being auto-completed |
- Source: