aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/menu/common.js
blob: adb74cf0a9ab8953ebe388b9647855103df4e4dc (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
define( [
	"lib/common",
	"ui/widgets/menu"
], function( common ) {

common.testWidget( "menu", {
	defaults: {
		classes: {},
		disabled: false,
		icons: {
			submenu: "ui-icon-caret-1-e"
		},
		items: "> *",
		menus: "ul",
		position: {
			my: "left top",
			at: "right top"
		},
		role: "menu",

		// Callbacks
		blur: null,
		create: null,
		focus: null,
		select: null
	}
});

} );