Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / examples / app / nested-loading / app / view / Header.js
diff --git a/examples/app/nested-loading/app/view/Header.js b/examples/app/nested-loading/app/view/Header.js
new file mode 100644 (file)
index 0000000..64f69a7
--- /dev/null
@@ -0,0 +1,19 @@
+/**
+ * The application header displayed at the top of the viewport
+ * @extends Ext.Component
+ */
+Ext.define('Books.view.Header', {
+    alias: 'widget.header',
+    extend: 'Ext.Component',
+    
+    initComponent: function() {
+        Ext.applyIf(this, {
+            dock: 'top',
+            html: 'Loading Nested Data Example',
+            cls: 'app-header',
+            border: false
+        });
+                
+        this.callParent(arguments);
+    }
+});
\ No newline at end of file