Skip to content

Commit 07b32b3

Browse files
committed
updated read me
1 parent 0b7f00d commit 07b32b3

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
@@ -32,7 +32,7 @@ The standard jquery.autocomplete.js file is around 2.7KB when minified via Closu
3232
* `type`: Ajax request type to get suggestions. Default: `GET`.
3333
* `noCache`: Boolean value indicating whether to cache suggestion results. Default `false`.
3434
* `onSearchStart`: `function (query) {}` called before ajax request. `this` is bound to input element.
35-
* `onSearchComplete`: `function (query) {}` called after ajax response is processed. `this` is bound to input element.
35+
* `onSearchComplete`: `function (query, suggestions) {}` called after ajax response is processed. `this` is bound to input element. `suggestions` is an array containing the results.
3636
* `onSearchError`: `function (query, jqXHR, textStatus, errorThrown) {}` called if ajax request fails. `this` is bound to input element.
3737
* `onInvalidateSelection`: `function () {}` called when input is altered after selection has been made. `this` is bound to input element.
3838
* `triggerSelectOnValidInput`: Boolean value indicating if `select` should be triggered if it matches suggestion. Default `true`.

0 commit comments

Comments
 (0)