2
0
mirror of https://github.com/devbridge/jQuery-Autocomplete.git synced 2024-09-19 00:39:01 +00:00

Merge pull request #714 from qqilihq/master

Add static `$.Autocomplete` to typings
This commit is contained in:
Tomas Kirda 2018-06-03 19:42:07 -05:00 committed by GitHub
commit 52e4899f55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 0 deletions

View File

@ -50,6 +50,11 @@ input.autocomplete({
}
});
// ----------------------------------------------------------------------------------------
// ----------------------------- TEST AUTOCOMPLETE STATIC ---------------------------------
// ----------------------------------------------------------------------------------------
$.Autocomplete.defaults;
// ----------------------------------------------------------------------------------------
// ------------------------------ TEST INSTANCE METHODS -----------------------------------

View File

@ -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 {
/**