examples/bootstrap/dashboard4.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 20 Nov 2020 06:21:31 +0000 (14:21 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 20 Nov 2020 06:21:31 +0000 (14:21 +0800)
examples/bootstrap/dashboard4.js

examples/bootstrap/dashboard4.bjs
examples/bootstrap/dashboard4.js

index c878173..fc9d22d 100644 (file)
         {
          "xtype" : "Card",
          "$ xns" : "Roo.bootstrap",
-         "String title" : "test"
+         "String title" : "test",
+         "items" : [
+          {
+           "xtype" : "CardUploader",
+           "$ xns" : "Roo.bootstrap"
+          }
+         ]
         }
        ]
       }
index 445c536..44e9b3b 100644 (file)
@@ -161,7 +161,14 @@ dashboard4 = new Roo.XComponent({
          xtype : 'Card',
          title : _this._strings['098f6bcd4621d373cade4e832627b4f6'] /* test */,
          xns : Roo.bootstrap,
-         '|xns' : 'Roo.bootstrap'
+         '|xns' : 'Roo.bootstrap',
+         items  : [
+          {
+           xtype : 'CardUploader',
+           xns : Roo.bootstrap,
+           '|xns' : 'Roo.bootstrap'
+          }
+         ]
         }
        ]
       }