jquery-ui/tests/unit/selectmenu/selectmenu_common.js
Scott González af4c35df9d Selectmenu: Support width: false and default to 14em
`width: null` still matches the width of the original element.
`width: false` prevents an inline style from being set for the width. This
makes it easy to set the width via a stylesheet and allows the use of any
unit for setting the width, such as the new default of `14em`.

Fixes #11198
Closes gh-1467
2015-03-05 11:42:49 -05:00

24 lines
357 B
JavaScript

TestHelpers.commonWidgetTests( "selectmenu", {
defaults: {
appendTo: null,
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
}
});