examples/bootstrap/left_siderbar.bjs
authorMicheal <micheal@roojs.com>
Tue, 2 Dec 2014 08:35:48 +0000 (16:35 +0800)
committerMicheal <micheal@roojs.com>
Tue, 2 Dec 2014 08:35:48 +0000 (16:35 +0800)
examples/bootstrap/left_siderbar.js

examples/bootstrap/left_siderbar.bjs
examples/bootstrap/left_siderbar.js

index fd471a3..5b4a153 100644 (file)
                                 },
                                 {
                                     "String tag" : "li",
+                                    "String cls" : "active",
                                     "xtype" : "Element",
-                                    "$ xns" : "Roo.bootstrap"
+                                    "$ xns" : "Roo.bootstrap",
+                                    "String html" : "Left Sidebar"
                                 }
                             ]
                         }
index eae9922..d707ee9 100644 (file)
@@ -41,8 +41,10 @@ left_siderbar = new Roo.XComponent({
                                {
                                     '|xns' : 'Roo.bootstrap',
                                     tag : 'li',
+                                    cls : 'active',
                                     xtype : 'Element',
-                                    xns : Roo.bootstrap
+                                    xns : Roo.bootstrap,
+                                    html : 'Left Sidebar'
                                 }
                             ]