This repository was archived by the owner on Dec 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+
2
+ interface JQueryAutocompleteOptions {
3
+ serviceUrl ?: string ;
4
+ lookup ?: AutocompleteSuggestion [ ] ;
5
+ lookupFilter ? ( suggestion : AutocompleteSuggestion , query : string , queryLowercase : string ) : any ;
6
+ onSelect ? ( suggestion : AutocompleteSuggestion ) : void ;
7
+ minChars : number ;
8
+ maxHeight : number ;
9
+ deferRequestBy ?: number ;
10
+ width ?: number ;
11
+ params ?: Object ;
12
+ formatResult ? ( suggestion : AutocompleteSuggestion , currentValue : string ) : string ;
13
+ delimiter ?: any ;
14
+ zIndex ?: number ;
15
+ type ?: string ;
16
+ noCache ?: bool ;
17
+ onSearchStart ? ( query : string ) : void ;
18
+ onSearchComplete ? ( query : string ) : void ;
19
+ tabDisabled ?: bool ;
20
+ paramName ?: string ;
21
+ transformResult ? ( response : any , originalQuery : string ) : AutocompleteSuggestion [ ] ;
22
+ autoSelectFirst ?: bool ;
23
+ appendTo : any ;
24
+ dataType : string ;
25
+ }
26
+
27
+ interface AutocompleteSuggestion {
28
+ value : string ;
29
+ data : any ;
30
+ }
31
+
32
+ interface AutocompleteInstance {
33
+ setOptions ( options : JQueryAutocompleteOptions ) : void ;
34
+ clear ( ) : void ;
35
+ clearCache ( ) : void ;
36
+ disable ( ) : void ;
37
+ enable ( ) : void ;
38
+ hide ( ) : void ;
39
+ dispose ( ) : void ;
40
+ }
You can’t perform that action at this time.
0 commit comments