You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
632 B
30 lines
632 B
5 years ago
|
define( [
|
||
|
"lib/common",
|
||
|
"ui/widgets/controlgroup",
|
||
|
"ui/widgets/checkboxradio",
|
||
|
"ui/widgets/selectmenu",
|
||
|
"ui/widgets/button",
|
||
|
"ui/widgets/spinner"
|
||
|
], function( common ) {
|
||
|
|
||
|
common.testWidget( "controlgroup", {
|
||
|
defaults: {
|
||
|
classes: {},
|
||
|
direction: "horizontal",
|
||
|
disabled: null,
|
||
|
items: {
|
||
|
"button": "input[type=button], input[type=submit], input[type=reset], button, a",
|
||
|
"checkboxradio": "input[type='checkbox'], input[type='radio']",
|
||
|
"selectmenu": "select",
|
||
|
"spinner": ".ui-spinner-input",
|
||
|
"controlgroupLabel": ".ui-controlgroup-label"
|
||
|
},
|
||
|
onlyVisible: true,
|
||
|
|
||
|
// Callbacks
|
||
|
create: null
|
||
|
}
|
||
|
} );
|
||
|
|
||
|
} );
|