aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/selectmenu/common.js
blob: 758e004badbf51a8fa4c9196e1ee0224718507f1 (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
27
28
29
30
31
32
33
34
define( [
	"lib/common",
	"ui/widgets/selectmenu"
], function( common ) {

common.testWidget( "selectmenu", {
	defaults: {
		appendTo: null,
		classes: {
			"ui-selectmenu-button-open": "ui-corner-top",
			"ui-selectmenu-button-closed": "ui-corner-all"
		},
		disabled: null,
		icons: {
			button: "ui-icon-triangle-1-s"
		},
		position: {
			my: "left top",
			at: "left bottom",
			collision: "none"
		},
		width: false,

		// callbacks
		change: null,
		close: null,
		create: null,
		focus: null,
		open: null,
		select: null
	}
});

} );