examples/bootstrap/homepage.bjs
authorMicheal <micheal@roojs.com>
Tue, 2 Dec 2014 05:27:13 +0000 (13:27 +0800)
committerMicheal <micheal@roojs.com>
Tue, 2 Dec 2014 05:27:13 +0000 (13:27 +0800)
examples/bootstrap/homepage.js

examples/bootstrap/homepage.bjs
examples/bootstrap/homepage.js

index 0a990f7..23b2105 100644 (file)
                                     "String tag" : "p",
                                     "String cls" : "text-right",
                                     "xtype" : "Element",
-                                    "$ xns" : "Roo.bootstrap"
+                                    "$ xns" : "Roo.bootstrap",
+                                    "String html" : "<a class=\"btn btn-primary btn-large\">Learn more »</a>"
                                 }
                             ]
                         }
index 1a5f4b9..c4f0ffd 100644 (file)
@@ -503,7 +503,8 @@ homepage = new Roo.XComponent({
                                     tag : 'p',
                                     cls : 'text-right',
                                     xtype : 'Element',
-                                    xns : Roo.bootstrap
+                                    xns : Roo.bootstrap,
+                                    html : '<a class=\"btn btn-primary btn-large\">Learn more »</a>'
                                 }
                             ]