projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
611b0be
)
Roo/menu/BaseItem.js
author
Alan Knowles
<alan@roojs.com>
Mon, 30 Sep 2013 09:18:21 +0000
(17:18 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 30 Sep 2013 09:18:21 +0000
(17:18 +0800)
Roo/menu/BaseItem.js
patch
|
blob
|
history
diff --git
a/Roo/menu/BaseItem.js
b/Roo/menu/BaseItem.js
index
5fa7326
..
05799cd
100644
(file)
--- a/
Roo/menu/BaseItem.js
+++ b/
Roo/menu/BaseItem.js
@@
-58,6
+58,12
@@
Roo.extend(Roo.menu.BaseItem, Roo.Component, {
* @cfg {Boolean} canActivate True if this item can be visually activated (defaults to false)
*/
canActivate : false,
+
+ /**
+ * @cfg {Boolean} hidden True to prevent creation of this menu item (defaults to false)
+ */
+ hidden: false,
+
/**
* @cfg {String} activeClass The CSS class to use when the item becomes activated (defaults to "x-menu-item-active")
*/