examples/bootstrap/sample.js
authorJulian Knowles <julian@roojs.com>
Mon, 27 Jan 2014 11:23:42 +0000 (19:23 +0800)
committerJulian Knowles <julian@roojs.com>
Mon, 27 Jan 2014 11:23:42 +0000 (19:23 +0800)
examples/bootstrap/sample.js

index 5c91c32..0e9979e 100644 (file)
@@ -1035,6 +1035,34 @@ Roo.example.bootstrap = new Roo.XComponent({
                                                                     xtype: 'Button',
                                                                     xns: Roo.bootstrap,
                                                                     html: '3'
+                                                                },
+                                                                {
+                                                                    xtype: 'Button',
+                                                                    xns: Roo.bootstrap,
+                                                                        menu: {
+                                                                            xtype: 'Menu',
+                                                                            xns: Roo.bootstrap,
+                                                                            items: [
+                                                                                {
+                                                                                    xtype: 'MenuItem',
+                                                                                    xns: Roo.bootstrap,
+                                                                                    html: "hello aaa",
+                                                                                    href : 'http://roojs.com'
+                                                                                },
+                                                                                {
+                                                                                    xtype: 'MenuItem',
+                                                                                    xns: Roo.bootstrap,
+                                                                                    html: "hello aaa",
+                                                                                    href : 'http://roojs.com'
+                                                                                },
+                                                                                {
+                                                                                    xtype: 'MenuItem',
+                                                                                    xns: Roo.bootstrap,
+                                                                                    html: "hello aaa",
+                                                                                    href : 'http://roojs.com'
+                                                                                }
+                                                                            ]
+                                                                        }
                                                                 }
                                                             ]
                                                         }