2015-04-06 18:40:47 +00:00
|
|
|
define( [
|
|
|
|
"lib/common",
|
2015-07-15 02:06:31 +00:00
|
|
|
"ui/widgets/selectmenu"
|
2015-04-06 18:40:47 +00:00
|
|
|
], function( common ) {
|
|
|
|
|
|
|
|
common.testWidget( "selectmenu", {
|
2011-10-19 17:47:02 +00:00
|
|
|
defaults: {
|
2012-12-15 01:23:04 +00:00
|
|
|
appendTo: null,
|
2014-12-03 16:26:46 +00:00
|
|
|
classes: {
|
|
|
|
"ui-selectmenu-button-open": "ui-corner-top",
|
|
|
|
"ui-selectmenu-button-closed": "ui-corner-all"
|
|
|
|
},
|
2014-04-21 14:32:49 +00:00
|
|
|
disabled: null,
|
2012-12-19 23:12:35 +00:00
|
|
|
icons: {
|
|
|
|
button: "ui-icon-triangle-1-s"
|
|
|
|
},
|
2011-10-19 17:47:02 +00:00
|
|
|
position: {
|
|
|
|
my: "left top",
|
|
|
|
at: "left bottom",
|
|
|
|
collision: "none"
|
|
|
|
},
|
2015-03-04 19:27:10 +00:00
|
|
|
width: false,
|
2013-04-29 18:47:02 +00:00
|
|
|
|
2015-08-21 04:06:35 +00:00
|
|
|
// Callbacks
|
2012-12-19 23:12:35 +00:00
|
|
|
change: null,
|
2011-10-19 17:47:02 +00:00
|
|
|
close: null,
|
2014-04-21 14:32:49 +00:00
|
|
|
create: null,
|
2012-12-19 23:12:35 +00:00
|
|
|
focus: null,
|
|
|
|
open: null,
|
|
|
|
select: null
|
2011-10-19 17:47:02 +00:00
|
|
|
}
|
|
|
|
});
|
2015-04-06 18:40:47 +00:00
|
|
|
|
|
|
|
} );
|