projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff7ad0f
)
Roo/menu/Item.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 5 Aug 2010 03:11:54 +0000
(11:11 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 5 Aug 2010 03:11:54 +0000
(11:11 +0800)
Roo/menu/Item.js
patch
|
blob
|
history
diff --git
a/Roo/menu/Item.js
b/Roo/menu/Item.js
index
75620a0
..
3bc8915
100644
(file)
--- a/
Roo/menu/Item.js
+++ b/
Roo/menu/Item.js
@@
-25,10
+25,17
@@
Roo.menu.Item = function(config){
}
};
Roo.extend(Roo.menu.Item, Roo.menu.BaseItem, {
+
+ /**
+ * @cfg {String} text
+ * The text to show on the menu item.
+ */
+ icon: undefined,
/**
* @cfg {String} icon
* The path to an icon to display in this menu item (defaults to Roo.BLANK_IMAGE_URL)
*/
+ icon: undefined,
/**
* @cfg {String} itemCls The default CSS class to use for menu items (defaults to "x-menu-item")
*/