aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/selectmenu/common.js
blob: 97a47f2a688b62bfb0927a88ffc54abebaa9f630 (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
	}
} );

} );