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

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

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