2014-08-23 03:39:35 +00:00
|
|
|
define( [
|
|
|
|
"lib/common",
|
2015-08-09 04:30:34 +00:00
|
|
|
"ui/widgets/controlgroup",
|
|
|
|
"ui/widgets/checkboxradio",
|
|
|
|
"ui/widgets/selectmenu",
|
|
|
|
"ui/widgets/button"
|
2014-08-23 03:39:35 +00:00
|
|
|
], function( common ) {
|
|
|
|
|
|
|
|
common.testWidget( "controlgroup", {
|
|
|
|
defaults: {
|
|
|
|
disabled: null,
|
|
|
|
items: {
|
|
|
|
"button": "input[type=button], input[type=submit], input[type=reset], button, a",
|
|
|
|
"checkboxradio": "input[type='checkbox'], input[type='radio']",
|
2015-08-14 13:49:48 +00:00
|
|
|
"selectmenu": "select",
|
|
|
|
"spinner": ".ui-spinner-input",
|
|
|
|
"controlgroupLabel": ".ui-controlgroup-label"
|
2014-08-23 03:39:35 +00:00
|
|
|
},
|
|
|
|
direction: "horizontal",
|
2015-09-30 13:38:42 +00:00
|
|
|
onlyVisible: true,
|
2014-08-23 03:39:35 +00:00
|
|
|
classes: {},
|
|
|
|
|
|
|
|
// Callbacks
|
|
|
|
create: null
|
|
|
|
}
|
2015-09-11 14:48:51 +00:00
|
|
|
} );
|
2014-08-23 03:39:35 +00:00
|
|
|
|
|
|
|
} );
|