mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14:24 +00:00
8029cc94e1
Ref #14246 Ref gh-1588
38 lines
601 B
JavaScript
38 lines
601 B
JavaScript
define( [
|
|
"lib/common",
|
|
"ui/widgets/autocomplete"
|
|
], function( common ) {
|
|
|
|
common.testWidget( "autocomplete", {
|
|
defaults: {
|
|
appendTo: null,
|
|
autoFocus: false,
|
|
classes: {},
|
|
delay: 300,
|
|
disabled: false,
|
|
messages: {
|
|
noResults: "No search results.",
|
|
results: $.ui.autocomplete.prototype.options.messages.results
|
|
},
|
|
minLength: 1,
|
|
position: {
|
|
my: "left top",
|
|
at: "left bottom",
|
|
collision: "none"
|
|
},
|
|
source: null,
|
|
|
|
// Callbacks
|
|
change: null,
|
|
close: null,
|
|
create: null,
|
|
focus: null,
|
|
open: null,
|
|
response: null,
|
|
search: null,
|
|
select: null
|
|
}
|
|
} );
|
|
|
|
} );
|