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",
|
2016-05-11 15:49:37 +00:00
|
|
|
"ui/widgets/button",
|
|
|
|
"ui/widgets/spinner"
|
2014-08-23 03:39:35 +00:00
|
|
|
], function( common ) {
|
|
|
|
|
|
|
|
common.testWidget( "controlgroup", {
|
|
|
|
defaults: {
|
2015-10-27 20:32:30 +00:00
|
|
|
classes: {},
|
|
|
|
direction: "horizontal",
|
2014-08-23 03:39:35 +00:00
|
|
|
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
|
|
|
},
|
2015-09-30 13:38:42 +00:00
|
|
|
onlyVisible: true,
|
2014-08-23 03:39:35 +00:00
|
|
|
|
|
|
|
// Callbacks
|
|
|
|
create: null
|
|
|
|
}
|
2015-09-11 14:48:51 +00:00
|
|
|
} );
|
2014-08-23 03:39:35 +00:00
|
|
|
|
|
|
|
} );
|