mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
af4c35df9d
`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
24 lines
357 B
JavaScript
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
|
|
}
|
|
});
|