Debian Codegraph @

dijit/MenuBarItem.js

raw symbols SCIP
1 define([
2 "dojo/_base/declare", // declare
3 "./MenuItem",
4 "dojo/text!./templates/MenuBarItem.html"
5 ], function(declare, MenuItem, template){
6
7 // module:
8 // dijit/MenuBarItem
9
10 var _MenuBarItemMixin = declare("dijit._MenuBarItemMixin", null, {
11 templateString: template,
12
13 // Map widget attributes to DOMNode attributes.
14 _setIconClassAttr: null // cancel MenuItem setter because we don't have a place for an icon
15 });
16
17 var MenuBarItem = declare("dijit.MenuBarItem", [MenuItem, _MenuBarItemMixin], {
18 // summary:
19 // Item in a MenuBar that's clickable, and doesn't spawn a submenu when pressed (or hovered)
20
21 });
22 MenuBarItem._MenuBarItemMixin = _MenuBarItemMixin; // dojox.mobile is accessing this
23
24
25 return MenuBarItem;
26 });