You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,7 @@ The standard jquery.autocomplete.js file is around 2.7KB when minified via Closu
32
32
*`noCache`: Boolean value indicating whether to cache suggestion results. Default `false`.
33
33
*`onSearchStart`: `function (query) {}` called before ajax request. `this` is bound to input element.
34
34
*`onSearchComplete`: `function (query) {}` called after ajax response is processed. `this` is bound to input element.
35
+
*`beforeRender`: `function (container) {}` called before displaying the suggestions. You may manipulate suggestions DOM before it is displayed.
35
36
*`tabDisabled`: Default `false`. Set to true to leave the cursor in the input field after the user tabs to select a suggestion.
36
37
*`paramName`: Default `query`. The name of the request parameter that contains the query.
37
38
*`transformResult`: `function(response, originalQuery) {}` called after the result of the query is ready. Converts the result into response.suggestions format.
0 commit comments