2015-04-06 17:04:04 +00:00
|
|
|
define( [
|
|
|
|
"lib/common",
|
2015-07-15 02:03:37 +00:00
|
|
|
"ui/widgets/menu"
|
2015-04-06 17:04:04 +00:00
|
|
|
], function( common ) {
|
|
|
|
|
|
|
|
common.testWidget( "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
|
|
|
|
2015-08-21 04:08:28 +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
|
|
|
}
|
2015-08-24 12:59:13 +00:00
|
|
|
} );
|
2015-04-06 17:04:04 +00:00
|
|
|
|
|
|
|
} );
|