You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
601 B
38 lines
601 B
5 years ago
|
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
|
||
|
}
|
||
|
} );
|
||
|
|
||
|
} );
|