aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/controlgroup/common.js
blob: 421e92e71f382084e7fa420a36761353b75cce5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
define( [
	"lib/common",
	"ui/controlgroup",
	"ui/checkboxradio",
	"ui/selectmenu",
	"ui/button"
], 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']",
			"selectmenu": "select"
		},
		direction: "horizontal",
		excludeInvisible: true,
		classes: {},

		// Callbacks
		create: null
	}
});

} );