Skip to content

Commit e52fd43

Browse files
committed
fix onHint parameter in readme
1 parent 75a8ae9 commit e52fd43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ $(selector).autocomplete(options);
4646
| Event setting | Function description |
4747
| :--- | :--- |
4848
| `onSearchStart` | `function (params) {}` called before Ajax request. `this` is bound to input element |
49-
| `onHint` | `function (container) {}` used to change input value to first suggestion automatically |
49+
| `onHint` | `function (hint) {}` used to change input value to first suggestion automatically |
5050
| `onSearchComplete` | `function (query, suggestions) {}` called after Ajax response is processed. `this` is bound to input element. `suggestions` is an array containing the results |
5151
| `transformResult` | `function(response, originalQuery) {}` called after the result of the query is ready. Converts the result into response.suggestions format |
5252
| `onSelect` | `function (suggestion) {}` Callback function invoked when user selects suggestion from the list. `this` inside callback refers to input HtmlElement.|

0 commit comments

Comments
 (0)