/*!
- * Ext JS Library 3.0.0
+ * Ext JS Library 3.1.0
* Copyright(c) 2006-2009 Ext JS, LLC
* licensing@extjs.com
* http://www.extjs.com/license
collapsible: true,\r
title: 'Navigation',\r
width: 200\r
- // the west region might typically utilize a {@link Ext.tree.TreePanel TreePanel} or a Panel with {@link Ext.layout.AccordionLayout Accordion layout} \r
+ // the west region might typically utilize a {@link Ext.tree.TreePanel TreePanel} or a Panel with {@link Ext.layout.AccordionLayout Accordion layout}\r
}, {\r
region: 'south',\r
title: 'Title for Panel',\r
* @xtype viewport\r
*/\r
Ext.Viewport = Ext.extend(Ext.Container, {\r
- /*\r
- * Privatize config options which, if used, would interfere with the\r
- * correct operation of the Viewport as the sole manager of the\r
- * layout of the document body.\r
- */\r
+ /*\r
+ * Privatize config options which, if used, would interfere with the\r
+ * correct operation of the Viewport as the sole manager of the\r
+ * layout of the document body.\r
+ */\r
/**\r
* @cfg {Mixed} applyTo @hide\r
- */\r
+ */\r
/**\r
* @cfg {Boolean} allowDomMove @hide\r
- */\r
+ */\r
/**\r
* @cfg {Boolean} hideParent @hide\r
- */\r
+ */\r
/**\r
* @cfg {Mixed} renderTo @hide\r
- */\r
+ */\r
/**\r
* @cfg {Boolean} hideParent @hide\r
- */\r
+ */\r
/**\r
* @cfg {Number} height @hide\r
- */\r
+ */\r
/**\r
* @cfg {Number} width @hide\r
- */\r
+ */\r
/**\r
* @cfg {Boolean} autoHeight @hide\r
- */\r
+ */\r
/**\r
* @cfg {Boolean} autoWidth @hide\r
- */\r
+ */\r
/**\r
* @cfg {Boolean} deferHeight @hide\r
- */\r
+ */\r
/**\r
* @cfg {Boolean} monitorResize @hide\r
- */\r
+ */\r
+\r
initComponent : function() {\r
Ext.Viewport.superclass.initComponent.call(this);\r
document.getElementsByTagName('html')[0].className += ' x-viewport';\r
},\r
\r
fireResize : function(w, h){\r
- this.fireEvent('resize', this, w, h, w, h);\r
+ this.onResize(w, h, w, h);\r
}\r
});\r
-Ext.reg('viewport', Ext.Viewport);
\ No newline at end of file
+Ext.reg('viewport', Ext.Viewport);\r