Roo/menu/Item.js
authorAlan Knowles <alan@akbkhome.com>
Thu, 5 Aug 2010 03:11:54 +0000 (11:11 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 5 Aug 2010 03:11:54 +0000 (11:11 +0800)
Roo/menu/Item.js

index 75620a0..3bc8915 100644 (file)
@@ -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")
      */