mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
8140d0c901
Ref #13885
30 lines
386 B
JavaScript
30 lines
386 B
JavaScript
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
|
|
}
|
|
});
|
|
|
|
} );
|