]>
Commit | Line | Data |
---|---|---|
f0cfe83e AD |
1 | require({cache:{ |
2 | 'url:dijit/templates/MenuBarItem.html':"<div class=\"dijitReset dijitInline dijitMenuItem dijitMenuItemLabel\" data-dojo-attach-point=\"focusNode\"\n\t \trole=\"menuitem\" tabIndex=\"-1\">\n\t<span data-dojo-attach-point=\"containerNode\"></span>\n</div>\n"}}); | |
3 | define("dijit/MenuBarItem", [ | |
4 | "dojo/_base/declare", // declare | |
5 | "./MenuItem", | |
6 | "dojo/text!./templates/MenuBarItem.html" | |
7 | ], function(declare, MenuItem, template){ | |
8 | ||
9 | // module: | |
10 | // dijit/MenuBarItem | |
11 | ||
12 | var _MenuBarItemMixin = declare("dijit._MenuBarItemMixin", null, { | |
13 | templateString: template, | |
14 | ||
15 | // Map widget attributes to DOMNode attributes. | |
16 | _setIconClassAttr: null // cancel MenuItem setter because we don't have a place for an icon | |
17 | }); | |
18 | ||
19 | var MenuBarItem = declare("dijit.MenuBarItem", [MenuItem, _MenuBarItemMixin], { | |
20 | // summary: | |
21 | // Item in a MenuBar that's clickable, and doesn't spawn a submenu when pressed (or hovered) | |
22 | ||
23 | }); | |
24 | MenuBarItem._MenuBarItemMixin = _MenuBarItemMixin; // dojox.mobile is accessing this | |
25 | ||
26 | ||
27 | return MenuBarItem; | |
28 | }); |