| 1 |
define( [ |
| 2 |
"lib/common", |
| 3 |
"ui/widgets/controlgroup", |
| 4 |
"ui/widgets/checkboxradio", |
| 5 |
"ui/widgets/selectmenu", |
| 6 |
"ui/widgets/button", |
| 7 |
"ui/widgets/spinner" |
| 8 |
], function( common ) { |
| 9 |
|
| 10 |
common.testWidget( "controlgroup", { |
| 11 |
defaults: { |
| 12 |
classes: {}, |
| 13 |
direction: "horizontal", |
| 14 |
disabled: null, |
| 15 |
items: { |
| 16 |
"button": "input[type=button], input[type=submit], input[type=reset], button, a", |
| 17 |
"checkboxradio": "input[type='checkbox'], input[type='radio']", |
| 18 |
"selectmenu": "select", |
| 19 |
"spinner": ".ui-spinner-input", |
| 20 |
"controlgroupLabel": ".ui-controlgroup-label" |
| 21 |
}, |
| 22 |
onlyVisible: true, |
| 23 |
|
| 24 |
|
| 25 |
create: null |
| 26 |
} |
| 27 |
} ); |
| 28 |
|
| 29 |
} ); |