examples/bootstrap/dashboard1.bjs.M0VFMX
authorAlan Knowles <alan@roojs.com>
Thu, 11 Sep 2014 08:41:42 +0000 (16:41 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 11 Sep 2014 08:41:42 +0000 (16:41 +0800)
examples/bootstrap/dashboard1.bjs
examples/bootstrap/dashboard1.js.PV0FMX
examples/bootstrap/dashboard1.js
examples/bootstrap/dashboard1.bjs.Q755LX
examples/bootstrap/dashboard1.js.BLO5LX

examples/bootstrap/dashboard1.bjs
examples/bootstrap/dashboard1.js

index c9fc671..a7ea7a4 100644 (file)
                                                                                     "items" : [
                                                                                         {
                                                                                             "xtype" : "Button",
-                                                                                            "$ xns" : "Roo.bootstrap"
+                                                                                            "$ xns" : "Roo.bootstrap",
+                                                                                            "* prop" : "before"
                                                                                         }
                                                                                     ]
                                                                                 }
index ce91db7..6ea1b20 100644 (file)
@@ -383,15 +383,16 @@ dashboard1 = new Roo.XComponent({
                                                                                     html : 'With buttons'
                                                                                 },
                                                                                {
+                                                                                    before : {
+                                                                                        xtype : 'Button',
+                                                                                        xns : Roo.bootstrap
+                                                                                    },
                                                                                     xtype : 'Input',
                                                                                     placeholder : 'before :  - an object...    ',
                                                                                     xns : Roo.bootstrap,
                                                                                     size : 'md',
                                                                                     items : [
-                                                                                       {
-                                                                                            xtype : 'Button',
-                                                                                            xns : Roo.bootstrap
-                                                                                        }
+
                                                                                     ]
 
                                                                                 }