mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-21 20:35:17 +00:00
Add static $.Autocomplete
to typings
(used for accessing the `defaults` property)
This commit is contained in:
parent
3927f7960f
commit
37d73a9fd0
@ -50,6 +50,11 @@ input.autocomplete({
|
||||
}
|
||||
});
|
||||
|
||||
// ----------------------------------------------------------------------------------------
|
||||
// ----------------------------- TEST AUTOCOMPLETE STATIC ---------------------------------
|
||||
// ----------------------------------------------------------------------------------------
|
||||
|
||||
$.Autocomplete.defaults;
|
||||
|
||||
// ----------------------------------------------------------------------------------------
|
||||
// ------------------------------ TEST INSTANCE METHODS -----------------------------------
|
||||
|
@ -257,6 +257,15 @@ interface JQueryAutocompleteOptions {
|
||||
|
||||
}
|
||||
|
||||
interface AutocompleteStatic {
|
||||
|
||||
/**
|
||||
* Default options for all instances.
|
||||
*/
|
||||
defaults: JQueryAutocompleteOptions
|
||||
|
||||
}
|
||||
|
||||
interface AutocompleteInstance {
|
||||
|
||||
/**
|
||||
@ -297,6 +306,12 @@ interface AutocompleteInstance {
|
||||
|
||||
}
|
||||
|
||||
interface JQueryStatic {
|
||||
|
||||
Autocomplete: AutocompleteStatic
|
||||
|
||||
}
|
||||
|
||||
interface JQuery {
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user