examples/bootstrap/LocationPicker.js
authorEdward <edward@roojs.com>
Thu, 21 May 2015 11:11:58 +0000 (19:11 +0800)
committerEdward <edward@roojs.com>
Thu, 21 May 2015 11:11:58 +0000 (19:11 +0800)
examples/bootstrap/LocationPicker.js

index 3089378..d4ac8c2 100644 (file)
@@ -1,6 +1,37 @@
-/* 
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
 
 
+Roo.example = Roo.example || {};
+
+Roo.example.locationpicker = new Roo.XComponent({
+    part     :  ["layout","viewpanel"],
+    order    : '001-viewpanel',
+    region   : '',
+    parent   : '#bootstrap',
+    name     : "unnamed module",
+    disabled : false, 
+    permname : '', 
+    _tree : function()
+    {
+        
+        this.parent = {
+            el : new Roo.bootstrap.Body()
+        }
+        this.parent.el.layout = false;
+        this.parent.el.render(document.body);
+        
+        var _this = this;
+        var MODULE = this;
+        
+        return {
+            xtype: 'Body',
+            xns: Roo.bootstrap,
+            items :
+            [
+                {
+                    xtype : 'TabBox',
+                    xns: Roo.bootstrap
+                }
+            ]
+       }
+    }
+});
\ No newline at end of file