jquery-ui/tests/unit/selectmenu/selectmenu_common.js
Alexander Schmitz 3483486a15 Selectmenu: Add classes option
Ref #7053
Ref gh-1411
2015-03-11 16:05:07 -04:00

28 lines
474 B
JavaScript

TestHelpers.commonWidgetTests( "selectmenu", {
defaults: {
appendTo: null,
classes: {
"ui-selectmenu-button-open": "ui-corner-top",
"ui-selectmenu-button-closed": "ui-corner-all"
},
disabled: null,
icons: {
button: "ui-icon-triangle-1-s"
},
position: {
my: "left top",
at: "left bottom",
collision: "none"
},
width: false,
// callbacks
change: null,
close: null,
create: null,
focus: null,
open: null,
select: null
}
});