<html>\r
<head>\r
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> \r
<title>The source code</title>\r
<link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
<script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
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
<div id="cfg-Ext.Viewport-applyTo"></div>/**\r
* @cfg {Mixed} applyTo @hide\r
- */\r
+ */\r
<div id="cfg-Ext.Viewport-allowDomMove"></div>/**\r
* @cfg {Boolean} allowDomMove @hide\r
- */\r
+ */\r
<div id="cfg-Ext.Viewport-hideParent"></div>/**\r
* @cfg {Boolean} hideParent @hide\r
- */\r
+ */\r
<div id="cfg-Ext.Viewport-renderTo"></div>/**\r
* @cfg {Mixed} renderTo @hide\r
- */\r
+ */\r
<div id="cfg-Ext.Viewport-hideParent"></div>/**\r
* @cfg {Boolean} hideParent @hide\r
- */\r
+ */\r
<div id="cfg-Ext.Viewport-height"></div>/**\r
* @cfg {Number} height @hide\r
- */\r
+ */\r
<div id="cfg-Ext.Viewport-width"></div>/**\r
* @cfg {Number} width @hide\r
- */\r
+ */\r
<div id="cfg-Ext.Viewport-autoHeight"></div>/**\r
* @cfg {Boolean} autoHeight @hide\r
- */\r
+ */\r
<div id="cfg-Ext.Viewport-autoWidth"></div>/**\r
* @cfg {Boolean} autoWidth @hide\r
- */\r
+ */\r
<div id="cfg-Ext.Viewport-deferHeight"></div>/**\r
* @cfg {Boolean} deferHeight @hide\r
- */\r
+ */\r
<div id="cfg-Ext.Viewport-monitorResize"></div>/**\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);</pre> \r
+Ext.reg('viewport', Ext.Viewport);\r
+</pre> \r
</body>\r
</html>
\ No newline at end of file