mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-23 01:24:22 +00:00
85ff520560
Ref #14246
30 lines
387 B
JavaScript
30 lines
387 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
|
|
}
|
|
} );
|
|
|
|
} );
|