2012-04-19 17:03:21 +00:00
|
|
|
TestHelpers.commonWidgetTests( "menu", {
|
2011-04-25 18:04:30 +00:00
|
|
|
defaults: {
|
2014-12-03 16:20:20 +00:00
|
|
|
classes: {},
|
2011-04-25 18:04:30 +00:00
|
|
|
disabled: false,
|
2012-07-12 15:23:33 +00:00
|
|
|
icons: {
|
2014-11-03 17:08:06 +00:00
|
|
|
submenu: "ui-icon-caret-1-e"
|
2012-07-12 15:23:33 +00:00
|
|
|
},
|
2013-09-25 04:46:59 +00:00
|
|
|
items: "> *",
|
2012-01-18 21:51:43 +00:00
|
|
|
menus: "ul",
|
2011-04-25 18:04:30 +00:00
|
|
|
position: {
|
2014-10-25 16:18:17 +00:00
|
|
|
my: "left top",
|
2011-04-25 18:04:30 +00:00
|
|
|
at: "right top"
|
|
|
|
},
|
2012-05-15 12:07:35 +00:00
|
|
|
role: "menu",
|
2010-05-06 15:10:52 +00:00
|
|
|
|
2011-04-25 18:04:30 +00:00
|
|
|
// callbacks
|
2012-02-27 04:52:38 +00:00
|
|
|
blur: null,
|
|
|
|
create: null,
|
|
|
|
focus: null,
|
|
|
|
select: null
|
2011-02-24 20:29:48 +00:00
|
|
|
}
|
2011-04-25 18:04:30 +00:00
|
|
|
});
|