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
+22-1Lines changed: 22 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ The standard jquery.autocomplete.js file is around 2.7KB when minified via Closu
14
14
*`options`: An object literal which defines the settings to use for the autocomplete plugin.
15
15
*`serviceUrl`: Server side URL or callback function that returns serviceUrl string. Optional if local lookup data is provided.
16
16
*`ajaxSettings`: Any additional [Ajax Settings](http://api.jquery.com/jquery.ajax/#jQuery-ajax-settings) that configure the jQuery Ajax request.
17
-
*`lookup`: Lookup array for the suggestions. It may be array of strings or `suggestion` object literals.
17
+
*`lookup`: Callback function or lookup array for the suggestions. It may be array of strings or `suggestion` object literals.
18
18
*`suggestion`: An object literal with the following format: `{ value: 'string', data: any }`.
19
19
*`lookupFilter`: `function (suggestion, query, queryLowerCase) {}` filter function for local lookups. By default it does partial string match (case insensitive).
20
20
*`lookupLimit`: Number of maximum results to display for local lookup. Default: no limit.
0 commit comments