examples/bootstrap/dashboard4.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 2 Dec 2020 07:09:16 +0000 (15:09 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 2 Dec 2020 07:09:16 +0000 (15:09 +0800)
examples/bootstrap/dashboard4.js

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

index 6e6d30f..59fd1c0 100644 (file)
              "xtype" : "Input",
              "string placeholder" : "New Ticket",
              "$ xns" : "Roo.bootstrap",
-             "string after" : "<i class=\"fa fa-plus\"></i>"
+             "string after" : "<i class=\"fa fa-plus\"></i>",
+             "items" : [
+              {
+               "xtype" : "Button",
+               "$ xns" : "Roo.bootstrap",
+               "* prop" : "after"
+              }
+             ]
             }
            ]
           },
index 90f8772..b793892 100644 (file)
@@ -80,7 +80,12 @@ dashboard4 = new Roo.XComponent({
              after : '<i class=\"fa fa-plus\"></i>',
              placeholder : _this._strings['009d65200f49f77cb6b15bdeadf60cdf'] /* New Ticket */,
              xns : Roo.bootstrap,
-             '|xns' : 'Roo.bootstrap'
+             '|xns' : 'Roo.bootstrap',
+             after : {
+              xtype : 'Button',
+              xns : Roo.bootstrap,
+              '|xns' : 'Roo.bootstrap'
+             }
             }
            ]
           },