You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
387 B
30 lines
387 B
5 years ago
|
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
|
||
|
}
|
||
|
} );
|
||
|
|
||
|
} );
|