mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2025-01-03 14:47:25 +00:00
Update jquery.autocomplete.d.ts - Update lookup definition
This commit is contained in:
parent
d556a873e7
commit
bfd9899e2e
@ -130,7 +130,7 @@ interface JQueryAutocompleteOptions {
|
|||||||
* Callback function or lookup array for the suggestions. It may be array of strings or suggestion object literals.
|
* Callback function or lookup array for the suggestions. It may be array of strings or suggestion object literals.
|
||||||
* -> suggestion: An object literal with the following format: { value: 'string', data: any }.
|
* -> suggestion: An object literal with the following format: { value: 'string', data: any }.
|
||||||
*/
|
*/
|
||||||
lookup?: Function | AutocompleteSuggestion[];
|
lookup?: { (query: string, done: { (results: AutocompleteResponse): void }): void } | string[] | AutocompleteSuggestion[];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter function for local lookups. By default it does partial string match (case insensitive).
|
* Filter function for local lookups. By default it does partial string match (case insensitive).
|
||||||
|
Loading…
Reference in New Issue
Block a user